aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2024-06-07 10:57:11 -0400
committerStefan Monnier2024-06-07 10:57:11 -0400
commit24082fc3c3c779dc9ac9e27135feb0fe1166f796 (patch)
tree3da0d8c674f415c149fb8a940e6f0296abc30dcc
parent6a9a5f59b956d52c4c6c9abdde6bd4270b635e64 (diff)
downloademacs-24082fc3c3c779dc9ac9e27135feb0fe1166f796.tar.gz
emacs-24082fc3c3c779dc9ac9e27135feb0fe1166f796.zip
* lisp/subr.el (with-silent-modifications): Minor simplification
-rw-r--r--lisp/subr.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 57c6f8a528f..e2e211369c9 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -5082,8 +5082,7 @@ of that nature."
5082 (unwind-protect 5082 (unwind-protect
5083 (progn 5083 (progn
5084 ,@body) 5084 ,@body)
5085 (when (or (not ,modified) 5085 (when (memq ,modified '(nil autosaved))
5086 (eq ,modified 'autosaved))
5087 (restore-buffer-modified-p ,modified)))))) 5086 (restore-buffer-modified-p ,modified))))))
5088 5087
5089(defmacro with-output-to-string (&rest body) 5088(defmacro with-output-to-string (&rest body)