aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mackenzie2021-05-02 15:22:36 +0000
committerAlan Mackenzie2021-05-02 15:25:14 +0000
commit84a2a4715b98e05ee37382d817ebe2ba9f2e03ce (patch)
tree77726cc3193c5a97a98b7e42ef94ef3f9bd7b811
parent013aee1ad30f3392203ca03ed996a27b934a31bf (diff)
downloademacs-84a2a4715b98e05ee37382d817ebe2ba9f2e03ce.tar.gz
emacs-84a2a4715b98e05ee37382d817ebe2ba9f2e03ce.zip
* lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let*
This should solve part of bug #48100.
-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
615wouldn't be able to undo them. 615wouldn't be able to undo them.
616 616
617The return value is the value of the last form in BODY." 617The return value is the value of the last form in BODY."
618 (declare (debug t) (indent 1)) 618 (declare (debug let*) (indent 1))
619 (if (fboundp 'with-silent-modifications) 619 (if (fboundp 'with-silent-modifications)
620 `(with-silent-modifications (let* ,varlist ,@body)) 620 `(with-silent-modifications (let* ,varlist ,@body))
621 `(let* ((modified (buffer-modified-p)) (buffer-undo-list t) 621 `(let* ((modified (buffer-modified-p)) (buffer-undo-list t)