aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/progmodes/cc-defs.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index 1bb76c170dc..b237dd9a598 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -1464,7 +1464,8 @@ non-nil, a caret is prepended to invert the set."
1464 (kill-buffer buf)) 1464 (kill-buffer buf))
1465 1465
1466 ;; See if `parse-partial-sexp' returns the eighth element. 1466 ;; See if `parse-partial-sexp' returns the eighth element.
1467 (if (c-safe (>= (length (save-excursion (parse-partial-sexp 1 1))) 10)) 1467 (if (c-safe (>= (length (save-excursion (parse-partial-sexp (point) (point))))
1468 10))
1468 (setq list (cons 'pps-extended-state list)) 1469 (setq list (cons 'pps-extended-state list))
1469 (error (concat 1470 (error (concat
1470 "CC Mode is incompatible with this version of Emacs - " 1471 "CC Mode is incompatible with this version of Emacs - "