aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorRichard M. Stallman2004-12-03 00:10:23 +0000
committerRichard M. Stallman2004-12-03 00:10:23 +0000
commit25f35ef609e7fa66110355557dfa92114696f6b5 (patch)
tree28ddf939a841bd386e2c2034f7a0a8f727b4163f /lisp/progmodes/python.el
parent2f27dfeb0dc7fdbfaf974fa42f5277e47d283e14 (diff)
downloademacs-25f35ef609e7fa66110355557dfa92114696f6b5.tar.gz
emacs-25f35ef609e7fa66110355557dfa92114696f6b5.zip
(python-font-lock-syntactic-keywords): Fix previous change.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 1e063d2f728..eae6ef75570 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -103,7 +103,7 @@
103(defconst python-font-lock-syntactic-keywords 103(defconst python-font-lock-syntactic-keywords
104 ;; Make outer chars of matching triple-quote sequences into generic 104 ;; Make outer chars of matching triple-quote sequences into generic
105 ;; string delimiters. Fixme: Is there a better way? 105 ;; string delimiters. Fixme: Is there a better way?
106 `((,(rx (and (or buffer-start (not (syntax escape))) ; avoid escaped 106 `((,(rx (and (or line-start buffer-start (not (syntax escape))) ; avoid escaped
107 ; leading quote 107 ; leading quote
108 (group (optional (any "uUrR"))) ; prefix gets syntax property 108 (group (optional (any "uUrR"))) ; prefix gets syntax property
109 (optional (any "rR")) ; possible second prefix 109 (optional (any "rR")) ; possible second prefix