From: Alan Mackenzie Date: Sun, 2 May 2021 15:22:36 +0000 (+0000) Subject: * lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let* X-Git-Tag: emacs-28.0.90~2641 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84a2a4715b98e05ee37382d817ebe2ba9f2e03ce;p=emacs.git * lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let* This should solve part of bug #48100. --- diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 4f79fa9b330..02292327581 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el @@ -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)