yatex

changeset 135:5c61fe39f1c4 dev

Suppress insertion of superfluous newline at duplication of previous <tr>.
author yuuji@gentei.org
date Sat, 19 Jun 2010 07:44:10 +0900
parents 94a1370956a4
children ab0c019da44d
files yahtml.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/yahtml.el	Fri May 28 15:22:11 2010 +0900
     1.2 +++ b/yahtml.el	Sat Jun 19 07:44:10 2010 +0900
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; -*- Emacs-Lisp -*-
     1.5  ;;; (c) 1994-2010 by HIROSE Yuuji [yuuji(@)yatex.org]
     1.6 -;;; Last modified Fri Feb 12 21:30:03 2010 on firestorm
     1.7 +;;; Last modified Sat Jun 19 07:40:38 2010 on firestorm
     1.8  ;;; $Id$
     1.9  
    1.10  (defconst yahtml-revision-number "1.74.2"
    1.11 @@ -2685,7 +2685,7 @@
    1.12        (cond
    1.13         ((and (> cols 0)
    1.14  	     (memq (read-char) '(?d ?D))) ;Duplication mode
    1.15 -	(setq line (YaTeX-buffer-substring (point) cp)))
    1.16 +	(setq line (YaTeX-buffer-substring (point) (1- cp))))
    1.17         (t				;empty cells
    1.18  	(setq line "<tr>" i 0)
    1.19  	(if (> cols 0)