diff --git a/yatex.el b/yatex.el index 1bb0d91..683b6d1 100644 --- a/yatex.el +++ b/yatex.el @@ -1,15 +1,15 @@ ;;; -*- Emacs-Lisp -*- ;;; Yet Another tex-mode for emacs - //�쒹// -;;; yatex.el rev. 1.75.2 +;;; yatex.el rev. 1.75.3 ;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Mon Jan 23 07:58:11 2012 on firestorm +;;; Last modified Sun Jan 29 17:27:03 2012 on firestorm ;;; $Id$ ;;; The latest version of this software is always available at; ;;; http://www.yatex.org/ (require 'comment) (require 'yatexlib) -(defconst YaTeX-revision-number "1.75.2" +(defconst YaTeX-revision-number "1.75.3" "Revision number of running yatex.el") ;---------- Local variables ---------- diff --git a/yatexenv.el b/yatexenv.el index dc07e2d..6f8f178 100644 --- a/yatexenv.el +++ b/yatexenv.el @@ -2,7 +2,7 @@ ;;; YaTeX environment-specific functions. ;;; yatexenv.el ;;; (c) 1994-2006 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Sun Jan 29 16:08:09 2012 on firestorm +;;; Last modified Sun Jan 29 17:23:40 2012 on firestorm ;;; $Id$ ;;; @@ -261,8 +261,13 @@ ;; For document environment ;;; (defun YaTeX-intelligent-newline-document () - "New paragraph." - (newline)) ;Do you prefer `\par'? + "New paragraph by null line or `\\par'." + (if (save-excursion (re-search-backward "\\\\par\\>" nil t)) + (progn + (YaTeX-indent-line) + (insert "\\par"))) + (newline) + (YaTeX-indent-line)) ;;; ;; Intelligent newline