emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ebfb4c2: * lisp/net/tramp-crypt.el (tramp-crypt-add-directory):


From: Michael Albinus
Subject: master ebfb4c2: * lisp/net/tramp-crypt.el (tramp-crypt-add-directory):
Date: Sun, 14 Mar 2021 04:27:50 -0400 (EDT)

branch: master
commit ebfb4c2789733d7ff11d08a595faa5804196c8e5
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    * lisp/net/tramp-crypt.el (tramp-crypt-add-directory):
    
    Don't autoload setting property `completion-predicate'.
---
 lisp/net/tramp-crypt.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/net/tramp-crypt.el b/lisp/net/tramp-crypt.el
index 278fb9d..f44be44 100644
--- a/lisp/net/tramp-crypt.el
+++ b/lisp/net/tramp-crypt.el
@@ -477,7 +477,6 @@ See `tramp-crypt-do-encrypt-or-decrypt-file'."
 Files in that directory and all subdirectories will be encrypted
 before copying to, and decrypted after copying from that
 directory.  File names will be also encrypted."
-  ;; (declare (completion tramp-crypt-enabled-p))
   (interactive "DRemote directory name: ")
   (unless tramp-crypt-enabled
     (tramp-user-error nil "Feature is not enabled."))
@@ -490,8 +489,7 @@ directory.  File names will be also encrypted."
     (setq tramp-crypt-directories (cons name tramp-crypt-directories)))
   (tramp-register-file-name-handlers))
 
-;; Starting with Emacs 28.1, this can be replaced by the "(declare ...)" form.
-;;;###tramp-autoload
+;; `tramp-crypt-enabled-p' is not autoloaded, and this setting isn't either.
 (function-put
  #'tramp-crypt-add-directory 'completion-predicate #'tramp-crypt-enabled-p)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]