[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101770: Remove directory-sep-char, o
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101770: Remove directory-sep-char, obsolete since 21.1. |
Date: |
Sun, 03 Oct 2010 14:23:13 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101770
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sun 2010-10-03 14:23:13 -0700
message:
Remove directory-sep-char, obsolete since 21.1.
* lisp/subr.el (directory-sep-char): Remove obsolete variable.
* lisp/net/tramp-compat.el: Don't mess about with the byte-compiler unless
it is "necessary".
* doc/lispref/files.texi (File Name Components): Remove ignored
section about deleted variable directory-sep-char.
* etc/NEWS: Mention above change.
modified:
doc/lispref/ChangeLog
doc/lispref/files.texi
etc/NEWS
lisp/ChangeLog
lisp/net/tramp-compat.el
lisp/subr.el
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog 2010-10-03 15:58:09 +0000
+++ b/doc/lispref/ChangeLog 2010-10-03 21:23:13 +0000
@@ -1,3 +1,8 @@
+2010-10-03 Glenn Morris <address@hidden>
+
+ * files.texi (File Name Components): Remove ignored section about
+ deleted variable directory-sep-char.
+
2010-10-03 Michael Albinus <address@hidden>
* files.texi (Magic File Names): New defopt
=== modified file 'doc/lispref/files.texi'
--- a/doc/lispref/files.texi 2010-10-03 15:58:09 +0000
+++ b/doc/lispref/files.texi 2010-10-03 21:23:13 +0000
@@ -1758,20 +1758,6 @@
not an extension.
@end defun
address@hidden
-Andrew Innes says that this
-
address@hidden @defvar directory-sep-char
-This variable holds the character that Emacs normally uses to separate
-file name components. The default value is @code{?/}, but on MS-Windows
-you can set it to @code{?\\}; then the functions that transform file names
-use backslashes in their output.
-
-File names using backslashes work as input to Lisp primitives even on
-MS-DOS and MS-Windows, even if @code{directory-sep-char} has its default
-value of @code{?/}.
address@hidden defvar
address@hidden ignore
@node Relative File Names
@subsection Absolute and Relative File Names
=== modified file 'etc/NEWS'
--- a/etc/NEWS 2010-10-03 21:05:47 +0000
+++ b/etc/NEWS 2010-10-03 21:23:13 +0000
@@ -559,7 +559,7 @@
** The following variables and aliases, obsolete since at least Emacs 21.1,
have been removed:
-checkdoc-minor-keymap, vc-header-alist
+checkdoc-minor-keymap, vc-header-alist, directory-sep-char
* Lisp changes in Emacs 24.1
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-10-03 21:05:47 +0000
+++ b/lisp/ChangeLog 2010-10-03 21:23:13 +0000
@@ -1,5 +1,9 @@
2010-10-03 Glenn Morris <address@hidden>
+ * subr.el (directory-sep-char): Remove obsolete variable.
+ * net/tramp-compat.el: Don't mess about with the byte-compiler unless
+ it is "necessary".
+
* vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
* vc/vc.el (vc-static-header-alist): Doc fix.
* vc/vc-cvs.el (vc-cvs-header):
=== modified file 'lisp/net/tramp-compat.el'
--- a/lisp/net/tramp-compat.el 2010-10-02 13:21:43 +0000
+++ b/lisp/net/tramp-compat.el 2010-10-03 21:23:13 +0000
@@ -88,13 +88,15 @@
;; `directory-sep-char' is an obsolete variable in Emacs. But it is
;; used in XEmacs, so we set it here and there. The following is
;; needed to pacify Emacs byte-compiler.
- (unless (boundp 'byte-compile-not-obsolete-var)
- (defvar byte-compile-not-obsolete-var nil))
- (setq byte-compile-not-obsolete-var 'directory-sep-char)
- ;; Emacs 23.2.
- (unless (boundp 'byte-compile-not-obsolete-vars)
- (defvar byte-compile-not-obsolete-vars nil))
- (setq byte-compile-not-obsolete-vars '(directory-sep-char))
+ ;; Note that it was removed altogether in Emacs 24.1.
+ (when (boundp 'directory-sep-char)
+ (unless (boundp 'byte-compile-not-obsolete-var)
+ (defvar byte-compile-not-obsolete-var nil))
+ (setq byte-compile-not-obsolete-var 'directory-sep-char)
+ ;; Emacs 23.2.
+ (unless (boundp 'byte-compile-not-obsolete-vars)
+ (defvar byte-compile-not-obsolete-vars nil))
+ (setq byte-compile-not-obsolete-vars '(directory-sep-char)))
;; `remote-file-name-inhibit-cache' has been introduced with Emacs 24.1.
;; Besides `t', `nil', and integer, we use also timestamps (as
=== modified file 'lisp/subr.el'
--- a/lisp/subr.el 2010-10-03 01:53:04 +0000
+++ b/lisp/subr.el 2010-10-03 21:23:13 +0000
@@ -1092,11 +1092,6 @@
(make-obsolete 'process-filter-multibyte-p nil "23.1")
(make-obsolete 'set-process-filter-multibyte nil "23.1")
-(defconst directory-sep-char ?/
- "Directory separator character for built-in functions that return file names.
-The value is always ?/.")
-(make-obsolete-variable 'directory-sep-char "do not use it, just use `/'."
"21.1")
-
(make-obsolete-variable
'mode-line-inverse-video
"use the appropriate faces instead."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101770: Remove directory-sep-char, obsolete since 21.1.,
Glenn Morris <=