diff --git a/emacs/data.el b/emacs/data.el index 53f5e4a..e8b4b03 100644 --- a/emacs/data.el +++ b/emacs/data.el @@ -61,11 +61,10 @@ "finished" "unfinished" "if" "else")) (functions '("option" "page" "name" "icon" "remote" "teleport_interlevel" "teleport_intralevel" - "script" "logon" "logoff" "pict" "info")) + "script" "logon" "logoff" "pict" "info" "text")) ( keyword-regexp (regexp-opt keywords 'words)) (function-regexp (regexp-opt functions 'words))) - `(("`.*$" . font-lock-string-face) - ( ,keyword-regexp . font-lock-keyword-face) + `(( ,keyword-regexp . font-lock-keyword-face) (,function-regexp . font-lock-function-name-face)))) (setq agw-lithdlg-syntax @@ -99,7 +98,8 @@ ;; Lithium text definition mode (setq agw-lithtxt-highlights - '(("^\\(==\\|%%\\|@@\\|\\+\\+\\|!![a-z]+\\) " . font-lock-keyword-face) + '(("^\\(\\(==\\|%%\\|@@\\|\\+\\+\\|!![a-z]+\\) \\|@@$\\)" . + font-lock-keyword-face) ("^##.*$" . font-lock-comment-face) ("\\\\#" . font-lock-constant-face)))