[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 80bea21: Emulate interactive mode
From: |
Dmitry Gutov |
Subject: |
[Emacs-diffs] master 80bea21: Emulate interactive mode |
Date: |
Mon, 9 May 2016 00:42:29 +0000 (UTC) |
branch: master
commit 80bea210ff14a64daa1d71765983aa3baa149555
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Emulate interactive mode
* test/lisp/jit-lock-tests.el (jit-lock-tests--setup-buffer)
(jit-lock-does-not-refontify-unnecessarily):
Bind noninteractive to nil (bug#23278).
---
test/lisp/jit-lock-tests.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/test/lisp/jit-lock-tests.el b/test/lisp/jit-lock-tests.el
index 26b9799..3d1db85 100644
--- a/test/lisp/jit-lock-tests.el
+++ b/test/lisp/jit-lock-tests.el
@@ -28,7 +28,8 @@
(defun jit-lock-tests--setup-buffer ()
(setq font-lock-defaults '(nil t))
- (font-lock-mode))
+ (let (noninteractive)
+ (font-lock-mode)))
(ert-deftest jit-lock-fontify-now-fontifies-a-new-buffer ()
(ert-with-test-buffer (:name "xxx")
@@ -51,7 +52,8 @@
(ert-with-test-buffer (:name "xxx")
(setq font-lock-defaults
(list '(((lambda () (error "Don't call me")))) t))
- (font-lock-mode)
+ (let (noninteractive)
+ (font-lock-mode))
(insert "aaa")
(with-silent-modifications
(put-text-property (point-min) (point-max) 'fontified t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 80bea21: Emulate interactive mode,
Dmitry Gutov <=