diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-08-30 12:20:30 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-09-04 15:20:00 +0200 |
commit | 9df72ecb6339110a0380c6faf75e7e93025bb26a (patch) | |
tree | 8f46c3e2c93d4ec1fa370b6f9b7944d1878d5887 /lisp/emacs-lisp | |
parent | 3f30d98af9401562c68f3a0388cf16593eb572e5 (diff) | |
download | emacs-9df72ecb6339110a0380c6faf75e7e93025bb26a.tar.gz emacs-9df72ecb6339110a0380c6faf75e7e93025bb26a.tar.bz2 emacs-9df72ecb6339110a0380c6faf75e7e93025bb26a.zip |
Preserve more markers when reverting .gpg files
* lisp/epa-file.el (epa-file--replace-text): Gingerly replace the
text in the buffer to preserve as many markers as possible
(bug#34720). This emulates the behaviour of Finsert_file_contents
more accurately.
(epa-file-decode-and-insert): Remove compat code.
(epa-file-insert-file-contents): Use the new function.
* lisp/emacs-lisp/cl-lib.el (cl-incf): Add autoload cookie.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cl-lib.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el index c09fcf51eba..ff096918173 100644 --- a/lisp/emacs-lisp/cl-lib.el +++ b/lisp/emacs-lisp/cl-lib.el @@ -110,6 +110,7 @@ a future Emacs interpreter will be able to use it.") ;; These macros are defined here so that they ;; can safely be used in init files. +;;;###autoload (defmacro cl-incf (place &optional x) "Increment PLACE by X (1 by default). PLACE may be a symbol, or any generalized variable allowed by `setf'. |