el/dot-emacs.el: Lay out Python keywords to allow additions.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 17 Feb 2024 13:15:15 +0000 (13:15 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 17 Feb 2024 14:55:46 +0000 (14:55 +0000)
el/dot-emacs.el

index ac57d78..48819b4 100644 (file)
@@ -3470,11 +3470,22 @@ strip numbers instead."
 
 (defun mdw-fontify-python ()
   (mdw-fontify-pythonic
-   (mdw-regexps "and" "as" "assert" "break" "class" "continue" "def"
-               "del" "elif" "else" "except" "exec" "finally" "for"
-               "from" "global" "if" "import" "in" "is" "lambda"
-               "not" "or" "pass" "print" "raise" "return" "try"
-               "while" "with" "yield")))
+   (mdw-regexps "and" "as" "assert"
+               "break"
+               "class" "continue"
+               "def" "del"
+               "elif" "else" "except" "exec"
+               "finally" "for" "from"
+               "global"
+               "if" "import" "in" "is"
+               "lambda"
+               "not"
+               "or"
+               "pass" "print"
+               "raise" "return"
+               "try"
+               "while" "with"
+               "yield")))
 
 (defun mdw-fontify-pyrex ()
   (mdw-fontify-pythonic