all messages for Emacs-related lists mirrored at yhetil.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.