summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2015-10-12 12:04:27 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2015-10-12 12:04:27 +0200
commit638e52328e065197fef61b0ef5514407fded365a (patch)
treeb3994fc02fcc25c554a4dfd308b1d6b8115804af /elisp
parent135d54e742c6bde4fea399fe45045059a1bcba5a (diff)
downloadgeiser-638e52328e065197fef61b0ef5514407fded365a.tar.gz
geiser-638e52328e065197fef61b0ef5514407fded365a.tar.bz2
So font-lock-fontify-buffer is for interactive use
Fixed by using font-lock-ensure instead
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-syntax.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp/geiser-syntax.el b/elisp/geiser-syntax.el
index 42af4dd..8e06339 100644
--- a/elisp/geiser-syntax.el
+++ b/elisp/geiser-syntax.el
@@ -481,7 +481,7 @@ implementation-specific entries for font-lock-keywords.")
(set-buffer (geiser-syntax--font-lock-buffer))
(erase-buffer)
(insert str)
- (let ((font-lock-verbose nil)) (font-lock-fontify-buffer))
+ (let ((font-lock-verbose nil)) (font-lock-ensure))
(buffer-string)))