yatex

changeset 436:e78a87bc2c9e dev

current file treated as absolute path(YaTeX-preview-jump-line)
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 08 Jan 2016 08:18:54 +0859
parents 8a9ef7c96a0a
children 27f00e6e0150
files yatexprc.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/yatexprc.el	Tue Jan 05 10:18:21 2016 +0859
     1.2 +++ b/yatexprc.el	Fri Jan 08 08:18:54 2016 +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:52:50 2015 on firestorm
     1.8 +;;; Last modified Fri Jan  8 08:18:14 2016 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;;; Code:
    1.12 @@ -1069,7 +1069,8 @@
    1.13  		    (save-excursion (YaTeX-visit-main t) (buffer-file-name))))
    1.14  	    (pdir (file-name-directory pf))
    1.15  	    (bnr (substring pf 0 (string-match "\\....$" pf)))
    1.16 -	    (cf (file-relative-name (buffer-file-name) pdir))
    1.17 +	    ;(cf (file-relative-name (buffer-file-name) pdir))
    1.18 +	    (cf (buffer-file-name)) ;2016-01-08
    1.19  	    (buffer (get-buffer-create " *preview-jump-line*"))
    1.20  	    (line (count-lines (point-min) (point-end-of-line)))
    1.21  	    (previewer (YaTeX-preview-default-previewer))