aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-09-19 09:42:28 +0200
committerLars Ingebrigtsen2022-09-19 09:43:05 +0200
commita53781470935fc0b7c7e576c3d02ed723c9587c4 (patch)
tree76d7f07acdfd0b045d4fb26460e890ac2d0adf62 /doc
parent3fd2b00a4b20afa827afe0eee2b7ba5f08e4cce6 (diff)
downloademacs-a53781470935fc0b7c7e576c3d02ed723c9587c4.tar.gz
emacs-a53781470935fc0b7c7e576c3d02ed723c9587c4.zip
Don't save bookmark context from encrypted files
* doc/emacs/regs.texi (Bookmarks): Mention this. * lisp/bookmark.el (bookmark-make-record): Don't include context in encrypted files (bug#57856). * lisp/epa-hook.el (epa-file-name-p): New function.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/regs.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi
index fb936018798..ef9187bb9a6 100644
--- a/doc/emacs/regs.texi
+++ b/doc/emacs/regs.texi
@@ -381,7 +381,8 @@ jump to the bookmark.
381@code{bookmark-jump} can find the proper position even if the file is 381@code{bookmark-jump} can find the proper position even if the file is
382modified slightly. The variable @code{bookmark-search-size} says how 382modified slightly. The variable @code{bookmark-search-size} says how
383many characters of context to record on each side of the bookmark's 383many characters of context to record on each side of the bookmark's
384position. 384position. (In buffers that are visiting encrypted files, no context
385is saved in the bookmarks file no matter the value of this variable.)
385 386
386 Here are some additional commands for working with bookmarks: 387 Here are some additional commands for working with bookmarks:
387 388