diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-11-22 19:44:43 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-11-22 19:44:43 +0000 |
commit | 16cdf1417289cfe7808bc23f1ac9adce5ede93a4 (patch) | |
tree | 4c2b104f43974ed4096a40033e5d4bef462a26c7 | |
parent | ddc3c69509b97779d3df289d3f9157edc8ba0546 (diff) | |
download | emacs-16cdf1417289cfe7808bc23f1ac9adce5ede93a4.tar.gz |
(hi-lock-refontify): Don't call non-existent
jit-lock-fontify-buffer; it should anyway be unneccessary to
dp anything special when jit-lock is active.
(hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
-rw-r--r-- | lisp/hi-lock.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index cc152b928c6..4d4d978a133 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -119,25 +119,26 @@ calls." :group 'hi-lock-interactive-text-highlighting) (defface hi-yellow - '((((background dark)) (:background "yellow" :foreground "black")) + '((((background dark)) + (:background "yellow" :foreground "black")) (t (:background "yellow"))) "Default face for hi-lock mode." :group 'hi-lock-faces) (defface hi-pink - '(((background dark) (:background "pink" :foreground "black")) + '((((background dark)) (:background "pink" :foreground "black")) (t (:background "pink"))) "Face for hi-lock mode." :group 'hi-lock-faces) (defface hi-green - '(((background dark) (:background "green" :foreground "black")) + '((((background dark)) (:background "green" :foreground "black")) (t (:background "green"))) "Face for hi-lock mode." :group 'hi-lock-faces) (defface hi-blue - '(((background dark) (:background "light blue" :foreground "black")) + '((((background dark)) (:background "light blue" :foreground "black")) (t (:background "light blue"))) "Face for hi-lock mode." :group 'hi-lock-faces) @@ -477,7 +478,7 @@ Optional argument END is maximum excursion." (interactive) (font-lock-unfontify-buffer) (cond - (jit-lock-mode (jit-lock-fontify-buffer)) + (jit-lock-mode nil) ;; Need a better way, since this assumes too much about lazy lock. (lazy-lock-mode (let ((windows (get-buffer-window-list (current-buffer) 'nomini t))) |