mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
CC Mode: Fix dodgy lisp `let' form.
* lisp/progmodes/cc-engine.el (c-forward-sws): Move a `setq' form from out of a let binding. This form could have been affected by the byte compiler bug bug#67116 before this was fixed.
This commit is contained in:
parent
fdac10b216
commit
5340fdaade
@ -2200,8 +2200,9 @@ comment at the start of cc-engine.el for more info."
|
||||
(c-put-is-sws (1+ rung-pos)
|
||||
(1+ (point)))
|
||||
(c-put-in-sws rung-pos
|
||||
(setq rung-pos (point)
|
||||
last-put-in-sws-pos rung-pos)))
|
||||
(point))
|
||||
(setq rung-pos (point)
|
||||
last-put-in-sws-pos rung-pos))
|
||||
|
||||
;; Now move over any comments (x)or a CPP construct.
|
||||
(setq simple-ws-end (point))
|
||||
|
Loading…
Reference in New Issue
Block a user