changeset 58739:2761697b0e2f

(python-font-lock-syntactic-keywords): Fix previous change.
author Richard M. Stallman <rms@gnu.org>
date Fri, 03 Dec 2004 00:10:23 +0000
parents ffd48e9f6a57
children 4ea947ec3dac
files lisp/progmodes/python.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/python.el	Fri Dec 03 00:06:21 2004 +0000
+++ b/lisp/progmodes/python.el	Fri Dec 03 00:10:23 2004 +0000
@@ -103,7 +103,7 @@
 (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