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)))
|
||||
(default-directory (file-name-directory cfn)))
|
||||
(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
|
||||
;; FIXME: Makes a name relative to (oref this file),
|
||||
;; whereas I think it should be relative to cfn.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue