summaryrefslogtreecommitdiff
path: root/cider-util.el
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2016-03-04 20:52:14 -0300
committerArtur Malabarba <bruce.connor.am@gmail.com>2016-03-04 20:52:14 -0300
commit5879d1608347974b1712e265749b5e8ad3af46e4 (patch)
treef950a75a00f0f2e79cfd38e841ac933da4a26266 /cider-util.el
parent3f6861ddb28c68499e4b3915f2285e10d4685404 (diff)
Revert "Update font-locking of evaluated regions"
There is no apparent need for this change. We can add it back if I ever remember why I wrote it.
Diffstat (limited to 'cider-util.el')
-rw-r--r--cider-util.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/cider-util.el b/cider-util.el
index d2662ca5..274186a7 100644
--- a/cider-util.el
+++ b/cider-util.el
@@ -212,10 +212,8 @@ PROP is the name of a text property."
(if (fboundp 'font-lock-flush)
#'font-lock-flush
(with-no-warnings
- (lambda (&optional beg end)
- (save-excursion
- (font-lock-fontify-region (or beg (point-min))
- (or end (point-max))))))))
+ (lambda (&optional _beg _end)
+ (font-lock-fontify-buffer)))))
(defvar cider--mode-buffers nil
"A list of buffers for different major modes.")