Explorar el Código

table: `org-table-to-lisp' preserves text properties.

* lisp/org-table.el (org-table-to-lisp): Preserve text properties.
Otherwise, it breaks `org-table-align', which needs to know about
invisible characters.
Nicolas Goaziou hace 4 años
padre
commit
984c7af21f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lisp/org-table.el

+ 1 - 1
lisp/org-table.el

@@ -5455,7 +5455,7 @@ The table is taken from the parameter TXT, or from the buffer at point."
 	    (if (looking-at "-")
 		(push 'hline table)
 	      (while (not (progn (skip-chars-forward " \t") (eolp)))
-		(push (buffer-substring-no-properties
+		(push (buffer-substring
 		       (point)
 		       (progn (re-search-forward "[ \t]*\\(|\\|$\\)")
 			      (match-beginning 0)))