org-table: Fix shrunk hlines
commit3719cdd48e3c580f0b0b1111467ea097265cfded
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 20 Apr 2018 09:57:37 +0000 (20 11:57 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 20 Apr 2018 09:57:37 +0000 (20 11:57 +0200)
tree93362d4762d6e7d4428a7d2e76c3cd8bb140ab22
parent222cfe7daf178c1902ef7cbc9ff55211257a847d
org-table: Fix shrunk hlines

* lisp/org-table.el (org-table--shrink-field): Handle properly shrunk
  hlines with a width cookie.
* testing/lisp/test-org-table.el (test-org-table/toggle-column-width):
  Add test.  Fix tests.

Reported-by: William Denton <wtd@pobox.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-04/msg00306.html>
lisp/org-table.el
testing/lisp/test-org-table.el