From bebf19e9d69866a9f403700282e213e69877d721 Mon Sep 17 00:00:00 2001 From: Christophe Raffalli Date: Fri, 10 Nov 2000 17:58:16 +0000 Subject: *** empty log message *** --- af2/sym-lock.el | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'af2') diff --git a/af2/sym-lock.el b/af2/sym-lock.el index 78e3c82f..3f9807e6 100644 --- a/af2/sym-lock.el +++ b/af2/sym-lock.el @@ -262,6 +262,11 @@ OBJ under `sym-lock-adobe-symbol-face'. The face extent will become atomic." "Function called by `font-lock-mode' for initialization purposes." (add-hook 'pre-idle-hook 'sym-lock-pre-idle-hook-first) (add-hook 'pre-idle-hook 'sym-lock-pre-idle-hook-last t) + (add-menu-button '("Options" "Syntax Highlighting") + ["Sym-Lock" + (if sym-lock-enabled (sym-lock-disable) (sym-lock-enable)) + :style toggle :selected sym-lock-enabled + :active sym-lock-keywords] "Automatic") (if (and (featurep 'sym-lock) sym-lock-enabled font-lock-defaults (boundp 'sym-lock-keywords)) (progn @@ -294,12 +299,6 @@ OBJ under `sym-lock-adobe-symbol-face'. The face extent will become atomic." (setq font-lock-keywords (append sym-lock-keywords font-lock-keywords))) t) -(add-menu-button '("Options" "Syntax Highlighting") - ["Sym-Lock" - (if sym-lock-enabled (sym-lock-disable) (sym-lock-enable)) - :style toggle :selected sym-lock-enabled - :active sym-lock-keywords] "Automatic") - (add-hook 'font-lock-mode-hook 'sym-lock-font-lock-hook) (provide 'sym-lock) -- cgit v1.2.3