emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fon


From: Leo Liu
Subject: [elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fontify code
Date: Mon, 14 Dec 2015 21:52:41 +0000

branch: master
commit f155c3ca8e509547ba71b4a7f931216f7a3dac8d
Author: Kan-Ru Chen <address@hidden>
Commit: Kan-Ru Chen <address@hidden>

    Avoid the jit-lock-mode to kick in when fontify code
    
    To prevent jit-lock args-out-of-range error when (erase-buffer) later
---
 ggtags.el |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index 7d53b86..b628763 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -2027,6 +2027,7 @@ When finished invoke CALLBACK in BUFFER with process exit 
status."
                             (delay-mode-hooks (funcall mode))
                             (setq font-lock-mode t)
                             (funcall font-lock-function font-lock-mode)
+                            (setq jit-lock-mode nil)
                             (current-buffer))))
               (with-current-buffer (prepare-buffer)
                 (let ((inhibit-read-only t))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]