changeset 33974:e2a51eb8b6cc

Update from author.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 28 Nov 2000 22:32:21 +0000
parents 1eb189c313a9
children 9b22f06699ac
files lisp/hi-lock.el
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hi-lock.el	Tue Nov 28 20:35:32 2000 +0000
+++ b/lisp/hi-lock.el	Tue Nov 28 22:32:21 2000 +0000
@@ -119,8 +119,7 @@
   :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 @@
   (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 @@
 (provide 'hi-lock)
 
 ;;; hi-lock.el ends here
-
-