]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let*
authorAlan Mackenzie <acm@muc.de>
Sun, 2 May 2021 15:22:36 +0000 (15:22 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 2 May 2021 15:25:14 +0000 (15:25 +0000)
This should solve part of bug #48100.

lisp/progmodes/cc-defs.el

index 4f79fa9b330c0b58efeccce72f30f2388dc794da..02292327581a8af68703a2fdc10ccef3d2af8f3b 100644 (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)