diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-03-04 20:52:14 -0300 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2016-03-04 20:52:14 -0300 |
commit | 5879d1608347974b1712e265749b5e8ad3af46e4 (patch) | |
tree | f950a75a00f0f2e79cfd38e841ac933da4a26266 /cider-util.el | |
parent | 3f6861ddb28c68499e4b3915f2285e10d4685404 (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.el | 6 |
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.") |