summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-defs.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2021-05-02 15:22:36 +0000
committerAlan Mackenzie <acm@muc.de>2021-05-02 15:25:14 +0000
commit84a2a4715b98e05ee37382d817ebe2ba9f2e03ce (patch)
tree77726cc3193c5a97a98b7e42ef94ef3f9bd7b811 /lisp/progmodes/cc-defs.el
parent013aee1ad30f3392203ca03ed996a27b934a31bf (diff)
downloademacs-84a2a4715b98e05ee37382d817ebe2ba9f2e03ce.tar.gz
emacs-84a2a4715b98e05ee37382d817ebe2ba9f2e03ce.tar.bz2
emacs-84a2a4715b98e05ee37382d817ebe2ba9f2e03ce.zip
* lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let*
This should solve part of bug #48100.
Diffstat (limited to 'lisp/progmodes/cc-defs.el')
-rw-r--r--lisp/progmodes/cc-defs.el2
1 files changed, 1 insertions, 1 deletions
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)