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 wrap: on
line diff
--- a/yahtml.el	Fri May 28 15:22:11 2010 +0900
+++ b/yahtml.el	Sat Jun 19 07:44:10 2010 +0900
@@ -1,6 +1,6 @@
 ;;; -*- Emacs-Lisp -*-
 ;;; (c) 1994-2010 by HIROSE Yuuji [yuuji(@)yatex.org]
-;;; Last modified Fri Feb 12 21:30:03 2010 on firestorm
+;;; Last modified Sat Jun 19 07:40:38 2010 on firestorm
 ;;; $Id$
 
 (defconst yahtml-revision-number "1.74.2"
@@ -2685,7 +2685,7 @@
       (cond
        ((and (> cols 0)
 	     (memq (read-char) '(?d ?D))) ;Duplication mode
-	(setq line (YaTeX-buffer-substring (point) cp)))
+	(setq line (YaTeX-buffer-substring (point) (1- cp))))
        (t				;empty cells
 	(setq line "<tr>" i 0)
 	(if (> cols 0)

yatex.org