summaryrefslogtreecommitdiff
path: root/lisp/net/tramp-integration.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2019-02-28 10:33:05 +0100
committerMichael Albinus <michael.albinus@gmx.de>2019-02-28 10:33:05 +0100
commita80e10458a6e85b64936085f95354cdde5aa847b (patch)
treebbf3967570a3d2e30fd694501eec0ecbcd7afdca /lisp/net/tramp-integration.el
parent4927f94792ffaab985e0aa3c977eb19308f067cf (diff)
downloademacs-a80e10458a6e85b64936085f95354cdde5aa847b.tar.gz
Use proper read syntax for all function names in Tramp
* lisp/net/tramp.el: * lisp/net/tramp-adb.el: * lisp/net/tramp-archive.el: * lisp/net/tramp-cache.el: * lisp/net/tramp-cmds.el: * lisp/net/tramp-compat.el: * lisp/net/tramp-ftp.el: * lisp/net/tramp-gvfs.el: * lisp/net/tramp-integration.el: * lisp/net/tramp-rclone.el: * lisp/net/tramp-sh.el: * lisp/net/tramp-smb.el: * lisp/net/tramp-sudoedit.el: * test/lisp/net/tramp-archive-tests.el: * test/lisp/net/tramp-tests.el: Use proper read syntax for all function names.
Diffstat (limited to 'lisp/net/tramp-integration.el')
-rw-r--r--lisp/net/tramp-integration.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/net/tramp-integration.el b/lisp/net/tramp-integration.el
index e2a0d6b206f..2a461763480 100644
--- a/lisp/net/tramp-integration.el
+++ b/lisp/net/tramp-integration.el
@@ -61,11 +61,11 @@ special handling of `substitute-in-file-name'."
(pop props) (pop props))))))
(add-hook 'rfn-eshadow-setup-minibuffer-hook
- 'tramp-rfn-eshadow-setup-minibuffer)
+ #'tramp-rfn-eshadow-setup-minibuffer)
(add-hook 'tramp-unload-hook
(lambda ()
(remove-hook 'rfn-eshadow-setup-minibuffer-hook
- 'tramp-rfn-eshadow-setup-minibuffer)))
+ #'tramp-rfn-eshadow-setup-minibuffer)))
(defun tramp-rfn-eshadow-update-overlay-regexp ()
(format "[^%s/~]*\\(/\\|~\\)" tramp-postfix-host-format))
@@ -104,11 +104,11 @@ been set up by `rfn-eshadow-setup-minibuffer'."
(rfn-eshadow-update-overlay))))))))
(add-hook 'rfn-eshadow-update-overlay-hook
- 'tramp-rfn-eshadow-update-overlay)
+ #'tramp-rfn-eshadow-update-overlay)
(add-hook 'tramp-unload-hook
(lambda ()
(remove-hook 'rfn-eshadow-update-overlay-hook
- 'tramp-rfn-eshadow-update-overlay)))
+ #'tramp-rfn-eshadow-update-overlay)))
;;; Integration of eshell.el:
@@ -120,20 +120,20 @@ been set up by `rfn-eshadow-setup-minibuffer'."
;; Use `path-separator' as it does eshell.
(setq eshell-path-env
(mapconcat
- 'identity (butlast (tramp-compat-exec-path)) path-separator)))
+ #'identity (butlast (tramp-compat-exec-path)) path-separator)))
(eval-after-load "esh-util"
'(progn
(add-hook 'eshell-mode-hook
- 'tramp-eshell-directory-change)
+ #'tramp-eshell-directory-change)
(add-hook 'eshell-directory-change-hook
- 'tramp-eshell-directory-change)
+ #'tramp-eshell-directory-change)
(add-hook 'tramp-integration-unload-hook
(lambda ()
(remove-hook 'eshell-mode-hook
- 'tramp-eshell-directory-change)
+ #'tramp-eshell-directory-change)
(remove-hook 'eshell-directory-change-hook
- 'tramp-eshell-directory-change)))))
+ #'tramp-eshell-directory-change)))))
;;; Integration of recentf.el:
@@ -160,15 +160,15 @@ NAME must be equal to `tramp-current-connection'."
(eval-after-load "recentf"
'(progn
(add-hook 'tramp-cleanup-connection-hook
- 'tramp-recentf-cleanup)
+ #'tramp-recentf-cleanup)
(add-hook 'tramp-cleanup-all-connections-hook
- 'tramp-recentf-cleanup-all)
+ #'tramp-recentf-cleanup-all)
(add-hook 'tramp-integration-unload-hook
(lambda ()
(remove-hook 'tramp-cleanup-connection-hook
- 'tramp-recentf-cleanup)
+ #'tramp-recentf-cleanup)
(remove-hook 'tramp-cleanup-all-connections-hook
- 'tramp-recentf-cleanup-all)))))
+ #'tramp-recentf-cleanup-all)))))
(add-hook 'tramp-unload-hook
(lambda () (unload-feature 'tramp-integration 'force)))