emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 84a2a47: * lisp/progmodes/cc-defs (c-save-buffer-state): Amend de


From: Alan Mackenzie
Subject: master 84a2a47: * lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let*
Date: Sun, 2 May 2021 11:25:30 -0400 (EDT)

branch: master
commit 84a2a4715b98e05ee37382d817ebe2ba9f2e03ce
Author: Alan Mackenzie <acm@muc.de>
Commit: Alan Mackenzie <acm@muc.de>

    * lisp/progmodes/cc-defs (c-save-buffer-state): Amend debug spec, t to let*
    
    This should solve part of bug #48100.
---
 lisp/progmodes/cc-defs.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index 4f79fa9..0229232 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]