diff yatexenv.el @ 234:b75390dd4260 dev

C-j can skip further parameter input for table/figure environment.
author yuuji@gentei.org
date Sat, 28 Jan 2012 11:16:11 +0900
parents 699f3c6c8b2c
children f70aae80489e
line wrap: on
line diff
--- a/yatexenv.el	Sat Jan 28 10:22:08 2012 +0900
+++ b/yatexenv.el	Sat Jan 28 11:16:11 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:21:07 2012 on firestorm
+;;; Last modified Sat Jan 28 10:26:54 2012 on firestorm
 ;;; $Id$
 
 ;;;
@@ -252,6 +252,10 @@
   (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)
@@ -259,6 +263,13 @@
 (fset 'YaTeX-intelligent-newline-equation* 'YaTeX-intelligent-newline-equation)
 
 ;;;
+;; For document environment
+;;;
+(defun YaTeX-intelligent-newline-document ()
+  "New paragraph."
+  (newline))				;Do you prefer `\par'?
+
+;;;
 ;; Intelligent newline
 ;;;
 ;;;###autoload

yatex.org