Mercurial > hgrepos > hgweb.cgi > 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 wrap: on
line diff
--- a/yatexprc.el Wed Nov 05 08:39:47 2014 +0900 +++ b/yatexprc.el Wed Nov 05 09:09:22 2014 +0900 @@ -1,7 +1,7 @@ ;;; yatexprc.el --- YaTeX process handler ;;; ;;; (c)1993-2013 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Wed Nov 5 08:28:49 2014 on firestorm +;;; Last modified Wed Nov 5 09:07:25 2014 on firestorm ;;; $Id$ ;;; Code: @@ -1035,7 +1035,7 @@ (funcall ff main-file) ) (t (setq main-file (read-file-name "Enter your main text: " nil nil 1)) - (setq YaTeX-parent-file main-file) + (setq YaTeX-parent-file (expand-file-name main-file)) ; (YaTeX-switch-to-buffer main-file setbuf)) (funcall ff main-file)) )))