Index: Misc/python-mode.el =================================================================== --- Misc/python-mode.el (revision 71304) +++ Misc/python-mode.el (working copy) @@ -431,7 +431,7 @@ ) "\\|")) (kw2 (mapconcat 'identity - '("else:" "except:" "finally:" "try:") + '("else:" "except:" "finally:" "try:" "lambda:") "\\|")) (kw3 (mapconcat 'identity ;; Don't include True, False, None, or @@ -482,7 +482,7 @@ (list (concat "\\([^. \t]\\|^\\)[ \t]*\\<\\(" kw3 "\\)\\>[ \n\t(]") 2 'py-builtins-face) ;; block introducing keywords with immediately following colons. - ;; Yes "except" is in both lists. + ;; Yes "except" and "lambda" are in both lists. (cons (concat "\\<\\(" kw2 "\\)[ \n\t(]") 1) ;; Exceptions (list (concat "\\<\\(" kw4 "\\)[ \n\t:,(]") 1 'py-builtins-face)