فهرست منبع

org-table.el (orgtbl-to-generic): Fix bug when exporting the cells of radio tables with 'hline

* org-table.el (orgtbl-to-generic): Fix bug when exporting the
cells of radio tables with 'hline.

Thanks to David Kincaid for reporting this.
Bastien Guerry 12 سال پیش
والد
کامیت
de4d520610
1فایلهای تغییر یافته به همراه6 افزوده شده و 4 حذف شده
  1. 6 4
      lisp/org-table.el

+ 6 - 4
lisp/org-table.el

@@ -4706,10 +4706,12 @@ directly by `orgtbl-send-table'.  See manual."
       (setq *orgtbl-table*
 	    (mapcar
 	     (lambda(r)
-	       (mapcar
-		(lambda (c)
-		  (org-trim (org-export-string-as c backend t '(:with-tables t))))
-		r))
+	       (if (listp r)
+		   (mapcar
+		    (lambda (c)
+		      (org-trim (org-export-string-as c backend t '(:with-tables t))))
+		    r)
+		 r))
 	     *orgtbl-table*)))
     ;; Put header
     (unless splicep