diff options
| author | Lars Ingebrigtsen | 2022-09-19 09:42:28 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-09-19 09:43:05 +0200 |
| commit | a53781470935fc0b7c7e576c3d02ed723c9587c4 (patch) | |
| tree | 76d7f07acdfd0b045d4fb26460e890ac2d0adf62 /doc | |
| parent | 3fd2b00a4b20afa827afe0eee2b7ba5f08e4cce6 (diff) | |
| download | emacs-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.texi | 3 |
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 |
| 382 | modified slightly. The variable @code{bookmark-search-size} says how | 382 | modified slightly. The variable @code{bookmark-search-size} says how |
| 383 | many characters of context to record on each side of the bookmark's | 383 | many characters of context to record on each side of the bookmark's |
| 384 | position. | 384 | position. (In buffers that are visiting encrypted files, no context |
| 385 | is 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 | ||