mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
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.
This commit is contained in:
parent
3f30d98af9
commit
9df72ecb63
2 changed files with 47 additions and 18 deletions
|
|
@ -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'.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue