summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-cmds.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2018-10-15 00:45:24 +0000
committerAlan Mackenzie <acm@muc.de>2018-10-15 00:45:24 +0000
commitaba7910e368f98790fdbaf5256c75da558d7b195 (patch)
tree68fe0db2fa35c7410aaabc6139de4ce9207f4fba /lisp/progmodes/cc-cmds.el
parent8c68e4afa8eebb6f738fdce600a6815509ac50a3 (diff)
downloademacs-aba7910e368f98790fdbaf5256c75da558d7b195.tar.gz
emacs-aba7910e368f98790fdbaf5256c75da558d7b195.tar.bz2
emacs-aba7910e368f98790fdbaf5256c75da558d7b195.zip
Add ~44 edebug specs to CC Mode.
* lisp/progmodes/cc-cmds.el, lisp/progmodes/cc-defs.el lisp/progmodes/cc-engine.el, lisp/progmodes/cc-fonts.el lisp/progmodes/cc-langs.el: Add lots of edebug specs. * lisp/progmodes/cc-engine.el (c-state-maybe-marker): Tidy up so as to evaluate an argument only once at runtime.
Diffstat (limited to 'lisp/progmodes/cc-cmds.el')
-rw-r--r--lisp/progmodes/cc-cmds.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index 4f256e1008f..0269c01a80e 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -1640,6 +1640,8 @@ No indentation or other \"electric\" behavior is performed."
paren-state orig-point-min orig-point-max))
(setq where 'in-block))))
+(def-edebug-spec c-while-widening-to-decl-block t)
+
(defun c-beginning-of-defun (&optional arg)
"Move backward to the beginning of a defun.
Every top level declaration that contains a brace paren block is