Commit 886c13f1 authored by Eli Zaretskii's avatar Eli Zaretskii

(save-buffer-state): Fix last change.

parent 64bcea62
......@@ -679,7 +679,7 @@ Major/minor modes can set this variable if they know which option applies.")
"Bind variables according to VARLIST and eval BODY restoring buffer state."
(let ((modified (make-symbol "modified")))
`(let* ,(append varlist
'((,modified (buffer-modified-p))
`((,modified (buffer-modified-p))
(buffer-undo-list t)
(inhibit-read-only t)
(inhibit-point-motion-hooks t)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment