Commit f0b7dfb
committed
org-table: Repair table before inserting rows/columns
* lisp/org-table.el (org-table-insert-column):
(org-table-insert-row): Repair the table as needed before inserting.
The internal insertion logic assumes that the table is valid. The
rapair checks are copied from `org-table-insert-hline'.
Reported-by: Mauro Aranda <maurooaranda@gmail.com>
Link: https://orgmode.org/list/87o8csah5t.fsf@localhost1 parent 2247083 commit f0b7dfb
1 file changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1355 | 1355 | | |
1356 | 1356 | | |
1357 | 1357 | | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
1358 | 1361 | | |
1359 | 1362 | | |
1360 | 1363 | | |
| |||
1649 | 1652 | | |
1650 | 1653 | | |
1651 | 1654 | | |
| 1655 | + | |
| 1656 | + | |
| 1657 | + | |
1652 | 1658 | | |
1653 | 1659 | | |
1654 | 1660 | | |
| |||
0 commit comments