yatex

changeset 133:e117bfc8ce66 dev

Do not activate any major-mode for texput.tex at typeset-region.
author yuuji@gentei.org
date Fri, 28 May 2010 13:06:52 +0900
parents 5aa94d64cc35
children 94a1370956a4
files yatexprc.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/yatexprc.el	Fri May 28 08:48:55 2010 +0900
     1.2 +++ b/yatexprc.el	Fri May 28 13:06:52 2010 +0900
     1.3 @@ -2,7 +2,7 @@
     1.4  ;;; YaTeX process handler.
     1.5  ;;; yatexprc.el
     1.6  ;;; (c)1993-2010 by HIROSE Yuuji.[yuuji@yatex.org]
     1.7 -;;; Last modified Thu May 27 14:55:49 2010 on firestorm
     1.8 +;;; Last modified Fri May 28 13:05:14 2010 on firestorm
     1.9  ;;; $Id$
    1.10  
    1.11  ;(require 'yatex)
    1.12 @@ -259,7 +259,8 @@
    1.13  	  "\\begin{document}")))
    1.14        (goto-char opoint)
    1.15        ;;(set-buffer buffer)		;for clarity
    1.16 -      (let ((hilit-auto-highlight nil))
    1.17 +      (let ((hilit-auto-highlight nil) (auto-mode-alist nil)
    1.18 +	    (magic-mode-alist nil))	;Do not activate yatex-mode here
    1.19  	(set-buffer (find-file-noselect texput)))
    1.20        ;;(find-file YaTeX-texput-file)
    1.21        (erase-buffer)