]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix insert-file-contents for tramp-crypt
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 26 Jan 2022 13:05:11 +0000 (14:05 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 26 Jan 2022 13:05:11 +0000 (14:05 +0100)
* lisp/net/tramp-crypt.el (tramp-crypt-file-name-handler-alist):
Use `tramp-handle-insert-file-contents'.

lisp/net/tramp-crypt.el

index c2c3689c610118b78e22157c6792ca3a3a77615c..2a6db036721c789a48a3309a67e81d78b3fd9035 100644 (file)
@@ -208,7 +208,7 @@ If NAME doesn't belong to a crypted remote directory, retun nil."
     (find-backup-file-name . tramp-handle-find-backup-file-name)
     ;; `get-file-buffer' performed by default handler.
     (insert-directory . tramp-crypt-handle-insert-directory)
-    ;; `insert-file-contents' performed by default handler.
+    (insert-file-contents . tramp-handle-insert-file-contents)
     (load . tramp-handle-load)
     (lock-file . tramp-crypt-handle-lock-file)
     (make-auto-save-file-name . tramp-handle-make-auto-save-file-name)