[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master f5ea03a 399/433: Don't try to enable jit-lock in temp buff
From: |
Dmitry Gutov |
Subject: |
[elpa] master f5ea03a 399/433: Don't try to enable jit-lock in temp buffers |
Date: |
Thu, 15 Mar 2018 19:44:43 -0400 (EDT) |
branch: master
commit f5ea03a62940b688a6e718b7d95ecf7fbfbf5e33
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>
Don't try to enable jit-lock in temp buffers
Fixes #51
---
mmm-region.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/mmm-region.el b/mmm-region.el
index 61a5ddc..060de15 100644
--- a/mmm-region.el
+++ b/mmm-region.el
@@ -497,7 +497,10 @@ is non-nil, don't quit if the info is already there."
(let ((temp-buffer (mmm-make-temp-buffer (current-buffer)
mmm-temp-buffer-name))
(filename (buffer-file-name))
- (mmm-in-temp-buffer t))
+ (mmm-in-temp-buffer t)
+ ;; Don't try to use jit-lock, it's automatically disabled
+ ;; starting with 24.4 anyway.
+ font-lock-support-mode)
(unwind-protect
(with-current-buffer temp-buffer
;; Handle stupid modes that need the file name set.
- [elpa] master c6a30e3 251/433: Trimmed ancient docstring., (continued)
- [elpa] master c6a30e3 251/433: Trimmed ancient docstring., Dmitry Gutov, 2018/03/15
- [elpa] master 30811bc 249/433: Added new files to be byte-compiled (Joe Kelsey), Dmitry Gutov, 2018/03/15
- [elpa] master 7b783ee 308/433: Don't confuse script tags with EJS tags, Dmitry Gutov, 2018/03/15
- [elpa] master 00c99c7 278/433: (lisp_LISP): Added mmm-myghty.el., Dmitry Gutov, 2018/03/15
- [elpa] master ad24c9d 275/433: * mmm-noweb.el (mmm-syntax-region-list), Dmitry Gutov, 2018/03/15
- [elpa] master a27d7af 329/433: Allow toggling whitespace-mode after initialization, Dmitry Gutov, 2018/03/15
- [elpa] master ce3cb79 367/433: * mmm-update-mode-info: bind `buffer-file-truename' to nil, Dmitry Gutov, 2018/03/15
- [elpa] master 37f6dea 396/433: mmm-indent-line: Use primary mode if submode ends right here, Dmitry Gutov, 2018/03/15
- [elpa] master 1b9406d 361/433: Released 0.5.0, Dmitry Gutov, 2018/03/15
- [elpa] master f9e4dd5 376/433: Fix #26, Dmitry Gutov, 2018/03/15
- [elpa] master f5ea03a 399/433: Don't try to enable jit-lock in temp buffers,
Dmitry Gutov <=
- [elpa] master 18bb050 392/433: Released 0.5.2, Dmitry Gutov, 2018/03/15
- [elpa] master 0cc4df5 410/433: Document mode transition hooks, Dmitry Gutov, 2018/03/15
- [elpa] master 8dcb066 414/433: Reword docstring & fix indentation, Dmitry Gutov, 2018/03/15
- [elpa] master c9a857a 407/433: Save font-lock-syntactic-face-function per major mode, Dmitry Gutov, 2018/03/15
- [elpa] master 545b85d 327/433: added more cc-mode variables to mmm-save-local-variables, Dmitry Gutov, 2018/03/15
- [elpa] master d58aacc 365/433: Fix mmm-add-to-major-mode-preferences docstring, Dmitry Gutov, 2018/03/15
- [elpa] master 3d83b62 383/433: Add mmm-defaults.el (#36), Dmitry Gutov, 2018/03/15
- [elpa] master 278ba52 386/433: Fix #37, Dmitry Gutov, 2018/03/15
- [elpa] master ed9e32c 242/433: * FAQ: Updated comments about other emacs variants., Dmitry Gutov, 2018/03/15
- [elpa] master ecf2a75 257/433: Use correct variable name..., Dmitry Gutov, 2018/03/15