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 wrap: on
line diff
--- a/yatexprc.el	Thu Oct 01 15:47:12 2015 +0859
+++ b/yatexprc.el	Thu Oct 01 15:53:02 2015 +0859
@@ -1,7 +1,7 @@
 ;;; yatexprc.el --- YaTeX process handler -*- coding: sjis -*-
 ;;; 
 ;;; (c)1993-2015 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Thu Oct  1 15:46:06 2015 on firestorm
+;;; Last modified Thu Oct  1 15:52:50 2015 on firestorm
 ;;; $Id$
 
 ;;; Code:
@@ -567,7 +567,6 @@
 (defun YaTeX-typeset-environment-timer ()
   "Update preview image in the 
 Plist: '(buf begPoint endPoint precedingChar 2precedingChar Substring time)"
-  (require 'yatex23)
   (let*((plist (get 'YaTeX-typeset-environment-timer 'laststate))
 	(b (nth 0 plist))
 	(s (nth 1 plist))
@@ -618,6 +617,7 @@
 'YaTeX-typeset-environment-by-builtin for using yatex-builtin.")
 
 (defun YaTeX-typeset-environment-1 ()
+  (require 'yatex23)
   (let*((math (YaTeX-in-math-mode-p))
 	(dpi (or (YaTeX-get-builtin "IMAGEDPI") (if math "300" "200")))
 	(opoint (point))

yatex.org