diff options
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index cddf79b351c..c5b07b37027 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -2585,7 +2585,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2585 | ;; or the car of the list is the "position element" of ELT, the position | 2585 | ;; or the car of the list is the "position element" of ELT, the position |
| 2586 | ;; where ELT is valid. | 2586 | ;; where ELT is valid. |
| 2587 | ;; | 2587 | ;; |
| 2588 | ;; POINT is left at the postition for which the returned state is valid. It | 2588 | ;; POINT is left at the position for which the returned state is valid. It |
| 2589 | ;; will be either the position element of ELT, or one character before | 2589 | ;; will be either the position element of ELT, or one character before |
| 2590 | ;; that. (The latter happens in Emacs <= 25 and XEmacs, when ELT indicates | 2590 | ;; that. (The latter happens in Emacs <= 25 and XEmacs, when ELT indicates |
| 2591 | ;; its position element directly follows a potential first character of a | 2591 | ;; its position element directly follows a potential first character of a |
| @@ -2656,7 +2656,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2656 | ((nth 3 state) ; A string | 2656 | ((nth 3 state) ; A string |
| 2657 | (list (point) (nth 3 state) (nth 8 state))) | 2657 | (list (point) (nth 3 state) (nth 8 state))) |
| 2658 | ((and (nth 4 state) ; A comment | 2658 | ((and (nth 4 state) ; A comment |
| 2659 | (not (eq (nth 7 state) 'syntax-table))) ; but not a psuedo comment. | 2659 | (not (eq (nth 7 state) 'syntax-table))) ; but not a pseudo comment. |
| 2660 | (list (point) | 2660 | (list (point) |
| 2661 | (if (eq (nth 7 state) 1) 'c++ 'c) | 2661 | (if (eq (nth 7 state) 1) 'c++ 'c) |
| 2662 | (nth 8 state))) | 2662 | (nth 8 state))) |