(python-font-lock-syntactic-keywords): Fix previous change.
authorRichard M. Stallman <rms@gnu.org>
Fri, 3 Dec 2004 00:10:23 +0000 (00:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 3 Dec 2004 00:10:23 +0000 (00:10 +0000)
lisp/progmodes/python.el

index 1e063d2..eae6ef7 100644 (file)
 (defconst python-font-lock-syntactic-keywords
   ;; Make outer chars of matching triple-quote sequences into generic
   ;; string delimiters.  Fixme: Is there a better way?
-  `((,(rx (and (or buffer-start (not (syntax escape))) ; avoid escaped
+  `((,(rx (and (or line-start buffer-start (not (syntax escape))) ; avoid escaped
                                                       ; leading quote
               (group (optional (any "uUrR"))) ; prefix gets syntax property
               (optional (any "rR"))    ; possible second prefix