]> git.eshelyaron.com Git - emacs.git/commitdiff
(safe-pos-list): Define for compiler.
authorGlenn Morris <rgm@gnu.org>
Fri, 11 Dec 2009 01:46:24 +0000 (01:46 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 11 Dec 2009 01:46:24 +0000 (01:46 +0000)
lisp/ChangeLog
lisp/progmodes/cc-engine.el

index a7d94b0e03b6c4b9371175870f0c59b9d9f6961f..64da824a8c5f1778e72f18e517145f22baddb784 100644 (file)
@@ -1,5 +1,7 @@
 2009-12-11  Glenn Morris  <rgm@gnu.org>
 
+       * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
+
        * mail/emacsbug.el: No longer require sendmail.
        Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
        (report-emacs-bug-orig-text): Doc fix.
index 27118620acd218b8664236b21434331ebeb8e51f..15cef111c17c26f3401e7461bd801b78b9684151 100644 (file)
@@ -3743,6 +3743,8 @@ comment at the start of cc-engine.el for more info."
        (goto-char bound))
       nil)))
 
+(defvar safe-pos-list)           ; bound in c-syntactic-skip-backward
+
 (defsubst c-ssb-lit-begin ()
   ;; Return the start of the literal point is in, or nil.
   ;; 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."
       ;;
       ;; FIXME: Consult `syntax-ppss' here if our cache doesn't give a good
       ;; position.
-    
+
       (while (and safe-pos-list
                  (> (car safe-pos-list) (point)))
        (setq safe-pos-list (cdr safe-pos-list)))