mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Inhibit modification hooks when saving eieio-persistent's
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Bind inhibit-modification-hooks -> t.
This commit is contained in:
parent
145aab0672
commit
c59e878439
1 changed files with 2 additions and 1 deletions
|
|
@ -473,7 +473,8 @@ instance."
|
||||||
(let* ((cfn (or file (oref this file)))
|
(let* ((cfn (or file (oref this file)))
|
||||||
(default-directory (file-name-directory cfn)))
|
(default-directory (file-name-directory cfn)))
|
||||||
(cl-letf ((standard-output (current-buffer))
|
(cl-letf ((standard-output (current-buffer))
|
||||||
((oref this file) ;FIXME: Why change it?
|
(inhibit-modification-hooks t)
|
||||||
|
((oref this file) ;FIXME: Why change it?
|
||||||
(if file
|
(if file
|
||||||
;; FIXME: Makes a name relative to (oref this file),
|
;; FIXME: Makes a name relative to (oref this file),
|
||||||
;; whereas I think it should be relative to cfn.
|
;; whereas I think it should be relative to cfn.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue