org-table: Fix shrunk columns on hlines
commit58da7d4d177a7d2e92e22110f4ad51158fba53b0
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 14 Feb 2018 17:45:29 +0000 (14 18:45 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 14 Feb 2018 17:48:48 +0000 (14 18:48 +0100)
tree38c03589573a46d4deede08bb92429582c8d2cf8
parentaf824a9b397d72edb6577990e7c45c7ffd2064ef
org-table: Fix shrunk columns on hlines

* lisp/org-table.el (org-table--shrunk-field): Fix function when on
  a hline.
* testing/lisp/test-org-table.el (test-org-table/shrunk-columns): Add
  tests.

Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-02/msg00231.html>
lisp/org-table.el
testing/lisp/test-org-table.el