emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r118247: Make blink-parens work with a closing t


From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r118247: Make blink-parens work with a closing template delimiter.
Date: Sat, 01 Nov 2014 21:14:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> +     ;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]