summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-08-30 12:20:30 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-09-04 15:20:00 +0200
commit9df72ecb6339110a0380c6faf75e7e93025bb26a (patch)
tree8f46c3e2c93d4ec1fa370b6f9b7944d1878d5887 /lisp/emacs-lisp
parent3f30d98af9401562c68f3a0388cf16593eb572e5 (diff)
downloademacs-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.el1
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'.