Mercurial > emacs
diff lisp/progmodes/python.el @ 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 | d0581f1eef46 |
children | 54d81a8baaa6 f2ebccfa87d4 |
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