unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] trunk r118247: Make blink-parens work with a closing template delimiter.
       [not found] <E1Xkb3u-0003KM-IR@vcs.savannah.gnu.org>
@ 2014-11-02  1:14 ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2014-11-02  1:14 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: emacs-devel

> +	;; Currently (2014-10-19), the syntax-table text properties on < and >
> +	;; are only applied in code called during Emacs redisplay.  We thus
> +	;; explicitly cause a redisplay so that these properties have been
> +	;; applied when `blink-paren-function' gets called.
> +	(sit-for 0)
> +	(funcall blink-paren-function)))))
 
I recommend you use font-lock-ensure rather than sit-for (of course,
after testing (fboundp 'font-lock-ensure).


        Stefan



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-02  1:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1Xkb3u-0003KM-IR@vcs.savannah.gnu.org>
2014-11-02  1:14 ` [Emacs-diffs] trunk r118247: Make blink-parens work with a closing template delimiter Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).