diff options
| author | Christophe Raffalli | 2000-11-10 17:58:16 +0000 |
|---|---|---|
| committer | Christophe Raffalli | 2000-11-10 17:58:16 +0000 |
| commit | bebf19e9d69866a9f403700282e213e69877d721 (patch) | |
| tree | b6e1bca7d5d5c4d6a81b510aebbe455cfd52089d /af2 | |
| parent | a33a0182a3115bb1591c9f5874635c621e7d190e (diff) | |
*** empty log message ***
Diffstat (limited to 'af2')
| -rw-r--r-- | af2/sym-lock.el | 11 |
1 files changed, 5 insertions, 6 deletions
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) |
