summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp-mode.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2023-01-19 10:59:10 +0000
committerAlan Mackenzie <acm@muc.de>2023-01-19 10:59:10 +0000
commit21be03cccb611ea9e6c73fb04e578c48edf49a25 (patch)
treecb0d704ac69299935ed11ca1b95c37dd30038101 /lisp/emacs-lisp/lisp-mode.el
parentdb727873803a974ba210c4942ae7cbcc3d6268ab (diff)
downloademacs-21be03cccb611ea9e6c73fb04e578c48edf49a25.tar.gz
emacs-21be03cccb611ea9e6c73fb04e578c48edf49a25.tar.bz2
emacs-21be03cccb611ea9e6c73fb04e578c48edf49a25.zip
CC Mode: Prevent two classes of "type" prematurely entering c-found-types
This fixes bug #60769. The two classes of "type" are foo and bar in "foo d(bar () ...)", where the d could be a mistyped C-M-d. * list/progmodes/cc-engine.el (c-forward-decl-or-cast-1): New local variable got-arglist. Refactor a sequence of enclosed `if' forms into a `cond' form. Set got-arglist when needed. In CASE 2, set unsafe-maybe to inhibit foo being entered into c-found-types. In CASE 19, likewise set unsafe-maybe, to inhibit bar entering c-found-types.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mode.el')
0 files changed, 0 insertions, 0 deletions