diff options
| author | Fabián Ezequiel Gallina | 2012-05-17 00:03:20 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2012-05-17 00:03:20 -0300 |
| commit | 9438f1ef3a35d6992a21cdd765c416f73a87ddab (patch) | |
| tree | 5440279bc8e5cdc30ae84ae3fb72437a589f1003 /lisp/progmodes/python.el | |
| parent | 82c2b0de6a2c15fbe4369739b8cd72020fdc3399 (diff) | |
| download | emacs-9438f1ef3a35d6992a21cdd765c416f73a87ddab.tar.gz emacs-9438f1ef3a35d6992a21cdd765c416f73a87ddab.zip | |
fixed font-lock-builtin-face regexp
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 92cdd35d90a..851c7fe28c0 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -352,21 +352,20 @@ | |||
| 352 | "UserWarning" "ValueError" "Warning" "ZeroDivisionError") | 352 | "UserWarning" "ValueError" "Warning" "ZeroDivisionError") |
| 353 | symbol-end) . font-lock-type-face) | 353 | symbol-end) . font-lock-type-face) |
| 354 | ;; Builtins | 354 | ;; Builtins |
| 355 | (,(rx (or line-start (not (any ". \t"))) (* (any " \t")) symbol-start | 355 | (,(rx symbol-start |
| 356 | (group | 356 | (or "_" "__doc__" "__import__" "__name__" "__package__" "abs" "all" |
| 357 | (or "_" "__doc__" "__import__" "__name__" "__package__" "abs" "all" | 357 | "any" "apply" "basestring" "bin" "bool" "buffer" "bytearray" |
| 358 | "any" "apply" "basestring" "bin" "bool" "buffer" "bytearray" | 358 | "bytes" "callable" "chr" "classmethod" "cmp" "coerce" "compile" |
| 359 | "bytes" "callable" "chr" "classmethod" "cmp" "coerce" "compile" | 359 | "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" |
| 360 | "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" | 360 | "execfile" "file" "filter" "float" "format" "frozenset" |
| 361 | "execfile" "file" "filter" "float" "format" "frozenset" | 361 | "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input" |
| 362 | "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input" | 362 | "int" "intern" "isinstance" "issubclass" "iter" "len" "list" |
| 363 | "int" "intern" "isinstance" "issubclass" "iter" "len" "list" | 363 | "locals" "long" "map" "max" "min" "next" "object" "oct" "open" |
| 364 | "locals" "long" "map" "max" "min" "next" "object" "oct" "open" | 364 | "ord" "pow" "print" "property" "range" "raw_input" "reduce" |
| 365 | "ord" "pow" "print" "property" "range" "raw_input" "reduce" | 365 | "reload" "repr" "reversed" "round" "set" "setattr" "slice" |
| 366 | "reload" "repr" "reversed" "round" "set" "setattr" "slice" | 366 | "sorted" "staticmethod" "str" "sum" "super" "tuple" "type" |
| 367 | "sorted" "staticmethod" "str" "sum" "super" "tuple" "type" | 367 | "unichr" "unicode" "vars" "xrange" "zip") |
| 368 | "unichr" "unicode" "vars" "xrange" "zip")) symbol-end) | 368 | symbol-end) . font-lock-builtin-face) |
| 369 | (1 font-lock-builtin-face)) | ||
| 370 | ;; asignations | 369 | ;; asignations |
| 371 | ;; support for a = b = c = 5 | 370 | ;; support for a = b = c = 5 |
| 372 | (,(lambda (limit) | 371 | (,(lambda (limit) |