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 wrap: on
line diff
--- a/yatexprc.el	Fri May 28 08:48:55 2010 +0900
+++ b/yatexprc.el	Fri May 28 13:06:52 2010 +0900
@@ -2,7 +2,7 @@
 ;;; YaTeX process handler.
 ;;; yatexprc.el
 ;;; (c)1993-2010 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Thu May 27 14:55:49 2010 on firestorm
+;;; Last modified Fri May 28 13:05:14 2010 on firestorm
 ;;; $Id$
 
 ;(require 'yatex)
@@ -259,7 +259,8 @@
 	  "\\begin{document}")))
       (goto-char opoint)
       ;;(set-buffer buffer)		;for clarity
-      (let ((hilit-auto-highlight nil))
+      (let ((hilit-auto-highlight nil) (auto-mode-alist nil)
+	    (magic-mode-alist nil))	;Do not activate yatex-mode here
 	(set-buffer (find-file-noselect texput)))
       ;;(find-file YaTeX-texput-file)
       (erase-buffer)

yatex.org