[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 13/16: * packages/markchars/markchars.el (markchars-mode): Use fo
From: |
Stefan Monnier |
Subject: |
[elpa] 13/16: * packages/markchars/markchars.el (markchars-mode): Use font-lock-flush when available. |
Date: |
Wed, 15 Oct 2014 21:05:59 +0000 |
monnier pushed a commit to branch master
in repository elpa.
commit bcfd791fd0c321298d9d3c675fde9c5046e86c22
Author: Stefan Monnier <address@hidden>
Date: Wed Oct 15 16:42:34 2014 -0400
* packages/markchars/markchars.el (markchars-mode): Use font-lock-flush
when available.
---
packages/markchars/markchars.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/packages/markchars/markchars.el b/packages/markchars/markchars.el
index 2f0e7b7..974456a 100644
--- a/packages/markchars/markchars.el
+++ b/packages/markchars/markchars.el
@@ -191,7 +191,8 @@ The default is to mark nonascii chars with a magenta
underline."
(add-to-list props 'markchars))
(font-lock-add-keywords nil markchars-used-keywords))
(font-lock-remove-keywords nil markchars-used-keywords))
- (font-lock-fontify-buffer))
+ (if (fboundp 'font-lock-flush)
+ (font-lock-flush) (font-lock-fontify-buffer)))
;;;###autoload
(define-globalized-minor-mode markchars-global-mode markchars-mode
- [elpa] 02/16: * packages/rainbow-mode/rainbow-mode.el (ansi-color-context) (xterm-color-current): Declare., (continued)
- [elpa] 02/16: * packages/rainbow-mode/rainbow-mode.el (ansi-color-context) (xterm-color-current): Declare., Stefan Monnier, 2014/10/15
- [elpa] 03/16: * poker/poker.el (poker-combinations, poker-possible-hands): Fix tests., Stefan Monnier, 2014/10/15
- [elpa] 04/16: * packages/num3-mode/num3-mode.el (num3-mode): Use font-lock-flush if available., Stefan Monnier, 2014/10/15
- [elpa] 05/16: * packages/shen-mode/inf-shen.el: Don't require `cl'. (shen-remember-functions): Avoid `flet'., Stefan Monnier, 2014/10/15
- [elpa] 08/16: * packages/uni-confusables/uni-confusables.el: Fix up comment convention. * packages/uni-confusables/gen-confusables.el (gen-confusables-write): Idem., Stefan Monnier, 2014/10/15
- [elpa] 06/16: * packages/trie/trie.el (edebug-prin1, edebug-prin1-to-string): Use advice-add when available., Stefan Monnier, 2014/10/15
- [elpa] 09/16: * GNUmakefile (%-pkg.el): Silence the emacs command line again. (all-in-place): Remove debug message., Stefan Monnier, 2014/10/15
- [elpa] 10/16: * packages/f90-interface-browser/f90-interface-browser.el (f90-fontify-arglist): Use font-lock-ensure when available., Stefan Monnier, 2014/10/15
- [elpa] 11/16: * packages/flylisp/flylisp.el (jit-lock-start): Declare., Stefan Monnier, 2014/10/15
- [elpa] 12/16: * packages/jgraph-mode/jgraph-mode.el: Use lexical-binding. (jgraph-extract-commands): Avoid add-to-list on local var., Stefan Monnier, 2014/10/15
- [elpa] 13/16: * packages/markchars/markchars.el (markchars-mode): Use font-lock-flush when available.,
Stefan Monnier <=
- [elpa] 14/16: * packages/vlf/vlf-occur.el, vlf-search.el, vlf-write.el (tramp-verbose): Declare., Stefan Monnier, 2014/10/15
- [elpa] 07/16: * packages/tNFA/tNFA.el (tNFA--DFA-state-create): Avoid add-to-list on local var., Stefan Monnier, 2014/10/15
- [elpa] 16/16: Miscellaneous cleanup., Stefan Monnier, 2014/10/15
- [elpa] 15/16: * packages/js2-mode/js2-imenu-extras.el: Use Unix-style EOL., Stefan Monnier, 2014/10/15