aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2009-12-11 01:46:24 +0000
committerGlenn Morris2009-12-11 01:46:24 +0000
commit47641aacc1fd1951206b5233454c15ddeaade0a6 (patch)
tree5fd0b599e7505b906d6bef3515b446e4bf5a5557
parent4e6a65b9428f243858354842e039549b64fb950c (diff)
downloademacs-47641aacc1fd1951206b5233454c15ddeaade0a6.tar.gz
emacs-47641aacc1fd1951206b5233454c15ddeaade0a6.zip
(safe-pos-list): Define for compiler.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/progmodes/cc-engine.el4
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a7d94b0e03b..64da824a8c5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12009-12-11 Glenn Morris <rgm@gnu.org> 12009-12-11 Glenn Morris <rgm@gnu.org>
2 2
3 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
4
3 * mail/emacsbug.el: No longer require sendmail. 5 * mail/emacsbug.el: No longer require sendmail.
4 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174) 6 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
5 (report-emacs-bug-orig-text): Doc fix. 7 (report-emacs-bug-orig-text): Doc fix.
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index 27118620acd..15cef111c17 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -3743,6 +3743,8 @@ comment at the start of cc-engine.el for more info."
3743 (goto-char bound)) 3743 (goto-char bound))
3744 nil))) 3744 nil)))
3745 3745
3746(defvar safe-pos-list) ; bound in c-syntactic-skip-backward
3747
3746(defsubst c-ssb-lit-begin () 3748(defsubst c-ssb-lit-begin ()
3747 ;; Return the start of the literal point is in, or nil. 3749 ;; Return the start of the literal point is in, or nil.
3748 ;; We read and write the variables `safe-pos', `safe-pos-list', `state' 3750 ;; We read and write the variables `safe-pos', `safe-pos-list', `state'
@@ -3756,7 +3758,7 @@ comment at the start of cc-engine.el for more info."
3756 ;; 3758 ;;
3757 ;; FIXME: Consult `syntax-ppss' here if our cache doesn't give a good 3759 ;; FIXME: Consult `syntax-ppss' here if our cache doesn't give a good
3758 ;; position. 3760 ;; position.
3759 3761
3760 (while (and safe-pos-list 3762 (while (and safe-pos-list
3761 (> (car safe-pos-list) (point))) 3763 (> (car safe-pos-list) (point)))
3762 (setq safe-pos-list (cdr safe-pos-list))) 3764 (setq safe-pos-list (cdr safe-pos-list)))