]> git.eshelyaron.com Git - emacs.git/commitdiff
Inhibit modification hooks when saving eieio-persistent's
authorMichael Heerdegen <michael_heerdegen@web.de>
Fri, 1 May 2020 00:08:17 +0000 (02:08 +0200)
committerMichael Heerdegen <michael_heerdegen@web.de>
Fri, 1 May 2020 19:16:30 +0000 (21:16 +0200)
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-save): Bind
inhibit-modification-hooks -> t.

lisp/emacs-lisp/eieio-base.el

index 2cb1f614ce327ba24205c14bd999d2dad205a043..010a2b673e1d1856ffec33d290d407cd70257053 100644 (file)
@@ -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.