aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-04-29 15:58:42 +0000
committerRichard M. Stallman2006-04-29 15:58:42 +0000
commit41c8e348f2362ff04d14d9781b02b3f72571e4bf (patch)
tree96ee184f8c4a399a52d8f0090a6dcd2bf987c19e
parent830951b02a12688c2515de9369f8efc971371027 (diff)
downloademacs-41c8e348f2362ff04d14d9781b02b3f72571e4bf.tar.gz
emacs-41c8e348f2362ff04d14d9781b02b3f72571e4bf.zip
tramp-file-name-handler-alist): Delete expand-file-name and other
operations that can cause spurious loading.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/tramp.el14
2 files changed, 10 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6048372f90b..d758347a5c8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-04-29 Richard Stallman <rms@gnu.org>
2
3 * net/tramp.el (tramp-file-name-handler-alist): Delete
4 expand-file-name and other operations that can cause spurious loading.
5
12006-04-29 Stefan Monnier <monnier@iro.umontreal.ca> 62006-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * files.el (safe-local-variable-p): Remove support for the special 8 * files.el (safe-local-variable-p): Remove support for the special
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index ad4eaaa4862..b35ffeb58ff 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1822,7 +1822,7 @@ Escape sequence %s is replaced with name of Perl binary.
1822This string is passed to `format', so percent characters need to be doubled.") 1822This string is passed to `format', so percent characters need to be doubled.")
1823 1823
1824; These values conform to `file-attributes' from XEmacs 21.2. 1824; These values conform to `file-attributes' from XEmacs 21.2.
1825; GNU Emacs and other tools not checked. 1825; Emacs and other tools not checked.
1826(defconst tramp-file-mode-type-map '((0 . "-") ; Normal file (SVID-v2 and XPG2) 1826(defconst tramp-file-mode-type-map '((0 . "-") ; Normal file (SVID-v2 and XPG2)
1827 (1 . "p") ; fifo 1827 (1 . "p") ; fifo
1828 (2 . "c") ; character device 1828 (2 . "c") ; character device
@@ -1927,17 +1927,13 @@ on the FILENAME argument, even if VISIT was a string.")
1927 "Alist of handler functions. 1927 "Alist of handler functions.
1928Operations not mentioned here will be handled by the normal Emacs functions.") 1928Operations not mentioned here will be handled by the normal Emacs functions.")
1929 1929
1930;; Handlers for partial tramp file names. For GNU Emacs just 1930
1931;; `file-name-all-completions' is needed. The other ones are necessary 1931;; Handlers for partial tramp file names. For Emacs just
1932;; for XEmacs. 1932;; `file-name-all-completions' is needed.
1933(defconst tramp-completion-file-name-handler-alist 1933(defconst tramp-completion-file-name-handler-alist
1934 '( 1934 '(
1935 (file-name-directory . tramp-completion-handle-file-name-directory)
1936 (file-name-nondirectory . tramp-completion-handle-file-name-nondirectory)
1937 (file-exists-p . tramp-completion-handle-file-exists-p)
1938 (file-name-all-completions . tramp-completion-handle-file-name-all-completions) 1935 (file-name-all-completions . tramp-completion-handle-file-name-all-completions)
1939 (file-name-completion . tramp-completion-handle-file-name-completion) 1936 (file-name-completion . tramp-completion-handle-file-name-completion))
1940 (expand-file-name . tramp-completion-handle-expand-file-name))
1941 "Alist of completion handler functions. 1937 "Alist of completion handler functions.
1942Used for file names matching `tramp-file-name-regexp'. Operations not 1938Used for file names matching `tramp-file-name-regexp'. Operations not
1943mentioned here will be handled by `tramp-file-name-handler-alist' or the 1939mentioned here will be handled by `tramp-file-name-handler-alist' or the