]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fix the handling of two adjacent after-change-functionses.
authorAlan Mackenzie <acm@muc.de>
Wed, 4 Mar 2020 21:17:04 +0000 (21:17 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 4 Mar 2020 21:17:04 +0000 (21:17 +0000)
commita3c2d186eb514b505e61c2a89a1df886dbfcb06b
tree6ac57f827e82755c48cd6f30875e9e27d6d78010
parenta1abf73c7642339c111646afed1d5d05ecada9c7
CC Mode: Fix the handling of two adjacent after-change-functionses.

The bug involved failing to set c-new-END correctly, which lead to an
args-out-of-range error when after-change-functions was invoked twice without
an intervening invocation of before-change-functions.

* lisp/progmodes/cc-mode.el (c-after-change): Correct a coding error in the
handling of c-just-done-before-change.
lisp/progmodes/cc-mode.el