mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08: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
1 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue