mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
fixed font-lock-builtin-face regexp
This commit is contained in:
parent
82c2b0de6a
commit
9438f1ef3a
1 changed files with 14 additions and 15 deletions
|
|
@ -352,8 +352,7 @@
|
|||
"UserWarning" "ValueError" "Warning" "ZeroDivisionError")
|
||||
symbol-end) . font-lock-type-face)
|
||||
;; Builtins
|
||||
(,(rx (or line-start (not (any ". \t"))) (* (any " \t")) symbol-start
|
||||
(group
|
||||
(,(rx symbol-start
|
||||
(or "_" "__doc__" "__import__" "__name__" "__package__" "abs" "all"
|
||||
"any" "apply" "basestring" "bin" "bool" "buffer" "bytearray"
|
||||
"bytes" "callable" "chr" "classmethod" "cmp" "coerce" "compile"
|
||||
|
|
@ -365,8 +364,8 @@
|
|||
"ord" "pow" "print" "property" "range" "raw_input" "reduce"
|
||||
"reload" "repr" "reversed" "round" "set" "setattr" "slice"
|
||||
"sorted" "staticmethod" "str" "sum" "super" "tuple" "type"
|
||||
"unichr" "unicode" "vars" "xrange" "zip")) symbol-end)
|
||||
(1 font-lock-builtin-face))
|
||||
"unichr" "unicode" "vars" "xrange" "zip")
|
||||
symbol-end) . font-lock-builtin-face)
|
||||
;; asignations
|
||||
;; support for a = b = c = 5
|
||||
(,(lambda (limit)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue