changeset 235:f70aae80489e dev

YaTeX-intelligent-newline-equation is useless and harmful, removed.
author yuuji@gentei.org
date Sat, 28 Jan 2012 20:05:23 +0900
parents b75390dd4260
children 328a212a2160
files yatexenv.el
diffstat 1 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/yatexenv.el	Sat Jan 28 11:16:11 2012 +0900
+++ b/yatexenv.el	Sat Jan 28 20:05:23 2012 +0900
@@ -2,7 +2,7 @@
 ;;; YaTeX environment-specific functions.
 ;;; yatexenv.el
 ;;; (c) 1994-2006 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Sat Jan 28 10:26:54 2012 on firestorm
+;;; Last modified Sat Jan 28 18:31:05 2012 on firestorm
 ;;; $Id$
 
 ;;;
@@ -252,16 +252,6 @@
   (YaTeX-make-section nil nil nil "bibitem")
   (YaTeX-indent-line))
 
-
-;;;
-;; Functions for math mode environments
-;;;
-(defun YaTeX-intelligent-newline-equation ()
-  "Warn equation can't have multiple lines."
-  (undo)
-  (error "Equation environment can't have multiple lines."))
-(fset 'YaTeX-intelligent-newline-equation* 'YaTeX-intelligent-newline-equation)
-
 ;;;
 ;; For document environment
 ;;;

yatex.org