summaryrefslogtreecommitdiff
path: root/lisp/hi-lock.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-11-28 22:32:46 +0000
committerGerd Moellmann <gerd@gnu.org>2000-11-28 22:32:46 +0000
commit99879a40e5096da221834bb823887ebe230f85aa (patch)
tree4c8231de1a3a7a756bda8429ab991e8c60f5ed1c /lisp/hi-lock.el
parente0b2312878bd2fe705feee08f07d7fec441e2d5a (diff)
downloademacs-99879a40e5096da221834bb823887ebe230f85aa.tar.gz
Update from author.
Diffstat (limited to 'lisp/hi-lock.el')
-rw-r--r--lisp/hi-lock.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el
index 4d4d978a133..697cfc52aca 100644
--- a/lisp/hi-lock.el
+++ b/lisp/hi-lock.el
@@ -119,8 +119,7 @@ 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)
@@ -478,7 +477,7 @@ Optional argument END is maximum excursion."
(interactive)
(font-lock-unfontify-buffer)
(cond
- (jit-lock-mode nil)
+ (jit-lock-mode (jit-lock-refontify))
;; 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)))
@@ -528,5 +527,3 @@ Optional argument END is maximum excursion."
(provide 'hi-lock)
;;; hi-lock.el ends here
-
-