summaryrefslogtreecommitdiff
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
commit2c8e3e042ef8da63550fec3982b462773acafe17 (patch)
treeb201358d596b0bf3af21d70941143eed1ae6273d
parent48ba8943e8ad63f778cf89b6e7dc41313127fffb (diff)
downloadgeiser-guile-2c8e3e042ef8da63550fec3982b462773acafe17.tar.gz
geiser-guile-2c8e3e042ef8da63550fec3982b462773acafe17.tar.bz2
So font-lock-fontify-buffer is for interactive use
Fixed by using font-lock-ensure instead
-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)))