diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2015-08-09 09:31:08 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2015-08-09 09:31:08 +0300 |
commit | a84e2c10a7571a219e90a669386a82a2d064d8da (patch) | |
tree | 22b35b445074c0c93c3a1530eb4652d7c82b22f5 /cider-util.el | |
parent | eb42e617f79b77974148318d8d8b6412f019b854 (diff) |
Replace font-lock-fontify-buffer with font-lock-ensure
`font-lock-fontify-buffer' is not supposed to be used non-interactively.
Diffstat (limited to 'cider-util.el')
-rw-r--r-- | cider-util.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cider-util.el b/cider-util.el index d4f4ae39..429e6797 100644 --- a/cider-util.el +++ b/cider-util.el @@ -90,7 +90,7 @@ PROP is the name of a text property." (setq-local delay-mode-hooks t) (setq delayed-mode-hooks nil) (funcall mode) - (font-lock-fontify-buffer) + (font-lock-ensure) (buffer-string))) (defun cider-font-lock-region-as (mode beg end &optional buffer) |