changeset 370:037f8d4c3c70 dev

Use 'start-process existence instead of YaTeX-dos. Thus YaTeX-prev-error works correctly on Emacs/Windows again.
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 29 Dec 2014 00:20:21 +0900
parents a536acc07a75
children f5b8e7415a25
files yatex.el yatexprc.el
diffstat 2 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/yatex.el	Sun Dec 28 16:18:40 2014 +0900
+++ b/yatex.el	Mon Dec 29 00:20:21 2014 +0900
@@ -1,6 +1,6 @@
 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
 ;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Sun Dec 28 16:17:42 2014 on firestorm
+;;; Last modified Sun Dec 28 23:31:32 2014 on firestorm
 ;;; $Id$
 ;;; The latest version of this software is always available at;
 ;;; http://www.yatex.org/
@@ -8,7 +8,7 @@
 ;;; Code:
 (require 'comment)
 (require 'yatexlib)
-(defconst YaTeX-revision-number "1.78.1"
+(defconst YaTeX-revision-number "1.78.2"
   "Revision number of running yatex.el")
 
 ;---------- Local variables ----------
--- a/yatexprc.el	Sun Dec 28 16:18:40 2014 +0900
+++ b/yatexprc.el	Mon Dec 29 00:20:21 2014 +0900
@@ -1,7 +1,7 @@
 ;;; yatexprc.el --- YaTeX process handler
 ;;; 
 ;;; (c)1993-2014 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Fri Dec 26 16:14:48 2014 on firestorm
+;;; Last modified Sun Dec 28 23:35:01 2014 on firestorm
 ;;; $Id$
 
 ;;; Code:
@@ -136,9 +136,11 @@
 		      (setq YaTeX-typeset-marker (make-marker)))
 		  (point))
       (insert (format "Call `%s'\n" command))
-      (if YaTeX-dos (message "Done.")
+      (cond
+       ((fboundp 'start-process)
 	(insert " ")
 	(set-marker (process-mark YaTeX-typeset-process) (1- (point))))
+       (t (message "Done.")))
       (if (bolp) (forward-line -1))	;what for?
       (cond
        (background nil)

yatex.org