yatex

changeset 326:d989511a492a dev

Keep YaTeX-parent-file in absolute-path
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 05 Nov 2014 09:09:22 +0900
parents 2561570d7194
children 2bc5b59840d5
files yatexprc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/yatexprc.el	Wed Nov 05 08:39:47 2014 +0900
     1.2 +++ b/yatexprc.el	Wed Nov 05 09:09:22 2014 +0900
     1.3 @@ -1,7 +1,7 @@
     1.4  ;;; yatexprc.el --- YaTeX process handler
     1.5  ;;; 
     1.6  ;;; (c)1993-2013 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Wed Nov  5 08:28:49 2014 on firestorm
     1.8 +;;; Last modified Wed Nov  5 09:07:25 2014 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;;; Code:
    1.12 @@ -1035,7 +1035,7 @@
    1.13  	(funcall ff main-file)
    1.14  	)
    1.15         (t (setq main-file (read-file-name "Enter your main text: " nil nil 1))
    1.16 -	  (setq YaTeX-parent-file main-file)
    1.17 +	  (setq YaTeX-parent-file (expand-file-name main-file))
    1.18  	 ; (YaTeX-switch-to-buffer main-file setbuf))
    1.19  	  (funcall ff main-file))
    1.20         )))