]> git.eshelyaron.com Git - emacs.git/commit
Improve don't save bookmark context from encrypted files
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 22 Sep 2022 11:14:46 +0000 (13:14 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 22 Sep 2022 11:14:46 +0000 (13:14 +0200)
commit4cb53c0528aad73ac001a5d0b4ae336b8ec65408
tree8a92638ba671d4368d1a6e3be00b98150124c0a6
parent9369e4242fa51d53b05ce95842f124522289d8a3
Improve don't save bookmark context from encrypted files

* etc/NEWS: Mention 'bookmark-inhibit-context-functions'.
Fix typos.

* lisp/bookmark.el (bookmark-inhibit-context-functions): New defcustom.
(bookmark-make-record): Use it.

* lisp/auth-source-pass.el (auth-source-pass-file-name-p):
* lisp/auth-source.el (auth-source-file-name-p): New defuns.  Add
them to `bookmark-inhibit-context-functions'.

* lisp/epa-hook.el (epa-file-name-p):
* lisp/net/tramp-crypt.el (tramp-crypt-file-name-p): Add them to
`bookmark-inhibit-context-functions'.
etc/NEWS
lisp/auth-source-pass.el
lisp/auth-source.el
lisp/bookmark.el
lisp/epa-hook.el
lisp/net/tramp-crypt.el