# HG changeset patch # User yuuji@gentei.org # Date 1327748723 -32400 # Node ID f70aae80489edb1c37678fc066c473aa3eda3b38 # Parent b75390dd4260707a5633282a7cc6f693eb75faaa YaTeX-intelligent-newline-equation is useless and harmful, removed. diff -r b75390dd4260 -r f70aae80489e yatexenv.el --- 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 ;;;