summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/lisp-mode-tests.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2019-07-28 13:30:38 +0000
committerAlan Mackenzie <acm@muc.de>2019-07-28 13:30:38 +0000
commitdcba39b445e8f71c5f8df34a38ae8fc726a51843 (patch)
treea417520b3d343bf3b50008ddfa42ccb60f7a0a90 /test/lisp/emacs-lisp/lisp-mode-tests.el
parentba952d654ad005826a6a219fa97b49af30193cca (diff)
downloademacs-dcba39b445e8f71c5f8df34a38ae8fc726a51843.tar.gz
CC Mode. Fix (c-beginning-of-defun -1) getting stuck with structs.
In particular, with an initialization such as struct foo {..} bar = {...}; * lisp/progmodes/cc-cmds.el (c-forward-to-nth-EOF-{): Rename to c-forward-to-nth-EOF-\;-or-}, and when the starting (or ending) position is in the "variable" part of a struct/class/union/enum/etc., move to after the terminating semicolon. Adjust the counting such that N only gets decremented on a successful movement over {..}. (c-beginning-of-defun, c-end-of-defun): Rename the calls to c-forward-to-nth-EOF-}, as above.
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-mode-tests.el')
0 files changed, 0 insertions, 0 deletions