• Lars Ingebrigtsen's avatar
    Preserve more markers when reverting .gpg files · 9df72ecb
    Lars Ingebrigtsen authored
    * 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.
    9df72ecb
cl-lib.el 25.6 KB