mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-13 09:30:24 -08:00
lisp/progmodes/python.el: Highlight keyword "nonlocal" (bug#8639).
This commit is contained in:
parent
e531bdfff1
commit
ce1539b46d
2 changed files with 8 additions and 1 deletions
|
|
@ -100,7 +100,9 @@
|
|||
"import" "in" "is" "lambda" "not" "or" "pass" "print"
|
||||
"raise" "return" "try" "while" "with" "yield"
|
||||
;; Not real keywords, but close enough to be fontified as such
|
||||
"self" "True" "False")
|
||||
"self" "True" "False"
|
||||
;; Python 3
|
||||
"nonlocal")
|
||||
symbol-end)
|
||||
(,(rx symbol-start "None" symbol-end) ; see § Keywords in 2.7 manual
|
||||
. font-lock-constant-face)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue