summaryrefslogtreecommitdiff
path: root/.emacs.d/site-lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/site-lisp')
-rw-r--r--.emacs.d/site-lisp/highlight-80+.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/.emacs.d/site-lisp/highlight-80+.el b/.emacs.d/site-lisp/highlight-80+.el
index 1207b841..24b9236d 100644
--- a/.emacs.d/site-lisp/highlight-80+.el
+++ b/.emacs.d/site-lisp/highlight-80+.el
@@ -88,7 +88,7 @@
highlight-80+-last-width tab-width)
;; The rest of the buffer can't be right, either.
(let ((font-lock-keywords))
- (font-lock-fontify-buffer)))
+ (font-lock-ensure (point-min) (point-max))))
;; re-search-forward is C and much faster checking columns ourselves
(re-search-forward highlight-80+-last-keywords nil t))
@@ -101,7 +101,7 @@
(font-lock-remove-keywords nil highlight-80+-keywords)
(kill-local-variable 'highlight-80+-last-keywords)
(kill-local-variable 'highlight-80+-last-width))
- (font-lock-fontify-buffer))
+ (font-lock-ensure (point-min) (point-max)))
(provide 'highlight-80+)
;;; highlight-80+.el ends here