]> git.eshelyaron.com Git - emacs.git/commit
Fix bug #33416, where typing a ) in a comment at EOB caused a loop (CC Mode).
authorAlan Mackenzie <acm@muc.de>
Sat, 24 Nov 2018 10:31:53 +0000 (10:31 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 24 Nov 2018 10:31:53 +0000 (10:31 +0000)
commit9877c03293241091ba4069002d4dc4d74b557414
treea177500da6131f25060d7ce9d40aafbd2bddab27
parent25a4205271f5550a34b5cfbf484fe7f16410d1f6
Fix bug #33416, where typing a ) in a comment at EOB caused a loop (CC Mode).

* lisp/progmodes/cc-mode.el (c-fl-decl-start): A c-forward-syntactic-ws leaves
point inside whitespace when moving over a comment at EOB which has no
terminating LF.  Check this possibility and correct for it.
lisp/progmodes/cc-mode.el