yatex

changeset 431:5cce749f9bbb dev

Position of require fixed
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 01 Oct 2015 15:53:02 +0859
parents fa7408c1a9e3
children 79dc66c450df
files yatexprc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/yatexprc.el	Thu Oct 01 15:47:12 2015 +0859
     1.2 +++ b/yatexprc.el	Thu Oct 01 15:53:02 2015 +0859
     1.3 @@ -1,7 +1,7 @@
     1.4  ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*-
     1.5  ;;; 
     1.6  ;;; (c)1993-2015 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Thu Oct  1 15:46:06 2015 on firestorm
     1.8 +;;; Last modified Thu Oct  1 15:52:50 2015 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;;; Code:
    1.12 @@ -567,7 +567,6 @@
    1.13  (defun YaTeX-typeset-environment-timer ()
    1.14    "Update preview image in the 
    1.15  Plist: '(buf begPoint endPoint precedingChar 2precedingChar Substring time)"
    1.16 -  (require 'yatex23)
    1.17    (let*((plist (get 'YaTeX-typeset-environment-timer 'laststate))
    1.18  	(b (nth 0 plist))
    1.19  	(s (nth 1 plist))
    1.20 @@ -618,6 +617,7 @@
    1.21  'YaTeX-typeset-environment-by-builtin for using yatex-builtin.")
    1.22  
    1.23  (defun YaTeX-typeset-environment-1 ()
    1.24 +  (require 'yatex23)
    1.25    (let*((math (YaTeX-in-math-mode-p))
    1.26  	(dpi (or (YaTeX-get-builtin "IMAGEDPI") (if math "300" "200")))
    1.27  	(opoint (point))