1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/subr.el (with-silent-modifications): Minor simplification

This commit is contained in:
Stefan Monnier 2024-06-07 10:57:11 -04:00
parent 6a9a5f59b9
commit 24082fc3c3

View file

@ -5082,8 +5082,7 @@ of that nature."
(unwind-protect
(progn
,@body)
(when (or (not ,modified)
(eq ,modified 'autosaved))
(when (memq ,modified '(nil autosaved))
(restore-buffer-modified-p ,modified))))))
(defmacro with-output-to-string (&rest body)