org-table: Obey <c> cookie when aligning a table
commit70d2b3c96f84bfad2ccecb69ba35b2d6f425e16b
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 19 Aug 2017 16:45:41 +0000 (19 18:45 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 6 Sep 2017 13:21:20 +0000 (6 15:21 +0200)
tree3dc80a655b744c15ac85254f8c075ea6a8771ffc
parent6e5598dc316146f50b2503a9f18dcf7d25e873db
org-table: Obey <c> cookie when aligning a table

* lisp/org-table.el (org-table--align-field): New function.
(org-table-align): Use new function.  Refactor code.
(org-table-justify-field-maybe): Use new function.
(org-table-get-remote-range): Remove duplicate bindings.

* doc/org.texi (Column width and alignment): Remove footnote.

* testing/lisp/test-org-table.el (test-org-table/align): New test.
doc/org.texi
lisp/org-table.el
testing/lisp/test-org-table.el