chiark / gitweb /
dot-emacs: Add Python `yield' keyword.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 1 Mar 2006 19:42:17 +0000 (19:42 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 1 Mar 2006 19:42:17 +0000 (19:42 +0000)
dot-emacs.el

index 66f919067c8010375af3055b84308ddbf363cea3..4f55e91714ee3499f711b88ba3b5a6892dbbf244 100644 (file)
@@ -1010,7 +1010,7 @@ (defun mdw-fontify-python ()
                        "del" "elif" "else" "except" "exec" "finally" "for"
                        "from" "global" "if" "import" "in" "is" "lambda"
                        "not" "or" "pass" "print" "raise" "return" "try"
                        "del" "elif" "else" "except" "exec" "finally" "for"
                        "from" "global" "if" "import" "in" "is" "lambda"
                        "not" "or" "pass" "print" "raise" "return" "try"
-                       "while"))))
+                       "while" "yield"))))
     (setq font-lock-keywords
          (list
           't
     (setq font-lock-keywords
          (list
           't