summaryrefslogtreecommitdiff
path: root/lisp/hi-lock.el
diff options
context:
space:
mode:
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
-
-