1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00

* lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let*

This should solve part of bug #48100.
This commit is contained in:
Alan Mackenzie 2021-05-02 15:22:36 +00:00
parent 013aee1ad3
commit 84a2a4715b

View File

@ -615,7 +615,7 @@ must not be within a `c-save-buffer-state', since the user then
wouldn't be able to undo them.
The return value is the value of the last form in BODY."
(declare (debug t) (indent 1))
(declare (debug let*) (indent 1))
(if (fboundp 'with-silent-modifications)
`(with-silent-modifications (let* ,varlist ,@body))
`(let* ((modified (buffer-modified-p)) (buffer-undo-list t)