Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
479a14cc
Commit
479a14cc
authored
May 17, 2012
by
Fabián Ezequiel Gallina
Committed by
Fabián Ezequiel Gallina
May 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added self to the list of font-lock-keywords
parent
27d7f16f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/progmodes/python.el
lisp/progmodes/python.el
+3
-1
No files found.
lisp/progmodes/python.el
View file @
479a14cc
...
...
@@ -360,7 +360,9 @@ This variant of `rx' supports common python named REGEXPS."
;; documentation, but since they also qualify as constants they are
;; fontified like that in order to keep font-lock consistent between
;; Python versions.
"nonlocal"
)
"nonlocal"
;; Extra:
"self"
)
symbol-end
)
;; functions
(
,
(
rx
symbol-start
"def"
(
1+
space
)
(
group
(
1+
(
or
word
?_
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment