(octave-font-lock-keywords): To font-lock the
builtin operators, use `font-lock-builtin-face' for Emacs and `font-lock-preprocessor-face' otherwise.
This commit is contained in:
parent
11b42ef4cd
commit
cb41203e13
1 changed files with 3 additions and 1 deletions
|
@ -176,7 +176,9 @@ parenthetical grouping.")
|
|||
'font-lock-keyword-face)
|
||||
;; Fontify all builtin operators.
|
||||
(cons "\\(&\\||\\|<=\\|>=\\|==\\|<\\|>\\|!=\\|!\\)"
|
||||
'font-lock-builtin-face)
|
||||
(if (boundp 'font-lock-builtin-face)
|
||||
'font-lock-builtin-face
|
||||
'font-lock-preprocessor-face))
|
||||
;; Fontify all builtin variables.
|
||||
(cons (concat "\\<\\("
|
||||
(mapconcat 'identity octave-variables "\\|")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue