From 25f35ef609e7fa66110355557dfa92114696f6b5 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 3 Dec 2004 00:10:23 +0000 Subject: [PATCH] (python-font-lock-syntactic-keywords): Fix previous change. --- lisp/progmodes/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 1e063d2f72..eae6ef7557 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el @@ -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 -- 2.20.1