diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2011-06-04 15:58:37 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2011-06-04 15:58:37 +0200 |
commit | f8f91c2ba836b2b2f9b7f9c3768e39d76a8895c9 (patch) | |
tree | 5f2fcede9acc62b6099821b4a9a017b8f028aacd /lisp/net/tramp-smb.el | |
parent | e17d9003618cef75852a0b88334cea66a5c4b016 (diff) | |
download | emacs-f8f91c2ba836b2b2f9b7f9c3768e39d76a8895c9.tar.gz |
* net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
(tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
(tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
(tramp-parse-putty):
* net/tramp-sh.el (tramp-completion-function-alist-rsh)
(tramp-completion-function-alist-ssh)
(tramp-completion-function-alist-telnet)
(tramp-completion-function-alist-su)
(tramp-completion-function-alist-putty): Set `tramp-autoload'
cookie.
* net/tramp-ftp.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
load "tramp.el" `tramp-set-completion-function'.
Diffstat (limited to 'lisp/net/tramp-smb.el')
-rw-r--r-- | lisp/net/tramp-smb.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/net/tramp-smb.el b/lisp/net/tramp-smb.el index a43e99c1206..eb456298c1a 100644 --- a/lisp/net/tramp-smb.el +++ b/lisp/net/tramp-smb.el @@ -53,9 +53,11 @@ `(,(concat "\\`" tramp-smb-method "\\'") nil nil)) ;; Add completion function for SMB method. -(tramp-set-completion-function - tramp-smb-method - '((tramp-parse-netrc "~/.netrc"))) +;;;###tramp-autoload +(eval-after-load 'tramp + '(tramp-set-completion-function + tramp-smb-method + '((tramp-parse-netrc "~/.netrc")))) (defcustom tramp-smb-program "smbclient" "*Name of SMB client to run." |