emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c59e878: Inhibit modification hooks when saving eieio-persistent'


From: Michael Heerdegen
Subject: master c59e878: Inhibit modification hooks when saving eieio-persistent's
Date: Fri, 1 May 2020 15:21:16 -0400 (EDT)

branch: master
commit c59e878439833d89998e03134ee9060f9c449fd9
Author: Michael Heerdegen <address@hidden>
Commit: Michael Heerdegen <address@hidden>

    Inhibit modification hooks when saving eieio-persistent's
    
    * lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Bind
    inhibit-modification-hooks -> t.
---
 lisp/emacs-lisp/eieio-base.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el
index 2cb1f61..010a2b6 100644
--- a/lisp/emacs-lisp/eieio-base.el
+++ b/lisp/emacs-lisp/eieio-base.el
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]