Mercurial > hgrepos > hgweb.cgi > yatex
changeset 519:a6a80e2b6f5a dev
Nil for YaTeX-on-the-fly-preview-interval should work here.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 09 Jan 2018 13:28:03 +0900 |
parents | dfb71acdec98 |
children | 52175326855d |
files | yatexprc.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/yatexprc.el Tue Jan 09 13:14:28 2018 +0900 +++ b/yatexprc.el Tue Jan 09 13:28:03 2018 +0900 @@ -637,10 +637,12 @@ (goto-char (overlay-end YaTeX-on-the-fly-overlay))) ((YaTeX-region-active-p) nil) ;if region is active, use it - (math (setq usetimer t) (YaTeX-mark-environment)) + (math (setq usetimer YaTeX-on-the-fly-preview-interval) + (YaTeX-mark-environment)) ((equal (or (YaTeX-inner-environment t) "document") "document") (mark-paragraph)) - (t (setq usetimer t) (YaTeX-mark-environment))) + (t (setq usetimer YaTeX-on-the-fly-preview-interval) + (YaTeX-mark-environment))) (if YaTeX-use-image-preview (let ((YaTeX-typeset-buffer (concat "*bg:" YaTeX-typeset-buffer)) (b (region-beginning)) (e (region-end)))