mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-17 17:58:46 +00:00
(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
@ -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…
Reference in New Issue
Block a user