Commit ce1539b4 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/progmodes/python.el: Highlight keyword "nonlocal" (bug#8639).

parent e531bdff
2011-05-13 Juanma Barranquero <lekktu@gmail.com>
* progmodes/python.el (python-font-lock-keywords):
Add the Python 3.X keyword "nonlocal" (bug#8639).
2011-05-09 Eli Zaretskii <eliz@gnu.org>
* smerge-mode.el (smerge-resolve): Use null-device rather than a
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment