org-colview: Fix COLUMNS keyword update
commit7c0618b04dd39ab03075d077abaf8b15220445cf
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 22 Feb 2016 21:42:03 +0000 (22 22:42 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 23 Feb 2016 12:18:38 +0000 (23 13:18 +0100)
tree2d393565314ddd51906b7e2718c4b15786351144
parentde439a68c8c546f0901f9be2bda644a2a21c36b4
org-colview: Fix COLUMNS keyword update

* lisp/org-colview.el (org-columns-store-format): Make sure we're really
  at a COLUMNS keyword before replacing it.  Also replace only the first
  one, not all of them.

* testing/lisp/test-org-colview.el (test-org-colview/columns-new): Add
  tests.
lisp/org-colview.el
testing/lisp/test-org-colview.el