aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorGlenn Morris2018-02-20 07:50:29 -0800
committerGlenn Morris2018-02-20 07:50:29 -0800
commit650febcd3ec1cfe0c686414c9c8f1a7caaeefe71 (patch)
tree534fc96cc86b769db3e2124b347b7be5e155d94d /lisp/progmodes
parent3d42272754db914d4f2dbbcfba5ce6776a7b232b (diff)
parent226aca32a784c4edebdec6a16eb90930aae64c06 (diff)
downloademacs-650febcd3ec1cfe0c686414c9c8f1a7caaeefe71.tar.gz
emacs-650febcd3ec1cfe0c686414c9c8f1a7caaeefe71.zip
Merge from origin/emacs-26
226aca3 (origin/emacs-26) Fix documentation of 'flyspell-auto-correct... a8c8434 * doc/emacs/misc.texi (Saving Emacs Sessions): Fix markup. 275e735 More changes in the Emacs manuals d962be5 More fixes in the Emacs manual 6dc2846 * src/data.c (Faref): Fix a typo in the doc string. (Bug#30510) 36e729f Minor edit in tramp.texi 6537f99 ; Fix oversight from last commit eb94588 ; * doc/emacs/maintaining.texi: Fix two typos. 258135f More improvements in the Emacs manual f138bca Improve documentation of 'electric-pair-mode' f74ab96 ; Spelling and grammar fixes. 42f9dc4 ; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): ...
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/cc-engine.el4
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)))