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 e039020d366..317968aafd3 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -2576,7 +2576,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2576 | ;; or the car of the list is the "position element" of ELT, the position | 2576 | ;; or the car of the list is the "position element" of ELT, the position |
| 2577 | ;; where ELT is valid. | 2577 | ;; where ELT is valid. |
| 2578 | ;; | 2578 | ;; |
| 2579 | ;; POINT is left at the postition for which the returned state is valid. It | 2579 | ;; POINT is left at the position for which the returned state is valid. It |
| 2580 | ;; will be either the position element of ELT, or one character before | 2580 | ;; will be either the position element of ELT, or one character before |
| 2581 | ;; that. (The latter happens in Emacs <= 25 and XEmacs, when ELT indicates | 2581 | ;; that. (The latter happens in Emacs <= 25 and XEmacs, when ELT indicates |
| 2582 | ;; its position element directly follows a potential first character of a | 2582 | ;; its position element directly follows a potential first character of a |
| @@ -2647,7 +2647,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2647 | ((nth 3 state) ; A string | 2647 | ((nth 3 state) ; A string |
| 2648 | (list (point) (nth 3 state) (nth 8 state))) | 2648 | (list (point) (nth 3 state) (nth 8 state))) |
| 2649 | ((and (nth 4 state) ; A comment | 2649 | ((and (nth 4 state) ; A comment |
| 2650 | (not (eq (nth 7 state) 'syntax-table))) ; but not a psuedo comment. | 2650 | (not (eq (nth 7 state) 'syntax-table))) ; but not a pseudo comment. |
| 2651 | (list (point) | 2651 | (list (point) |
| 2652 | (if (eq (nth 7 state) 1) 'c++ 'c) | 2652 | (if (eq (nth 7 state) 1) 'c++ 'c) |
| 2653 | (nth 8 state))) | 2653 | (nth 8 state))) |