Fix COMMENT keyword when stacked with a regular keyword
commitfea23d3da24d70ab5f735c92ff7616486a80107d
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 24 Mar 2014 20:46:00 +0000 (24 21:46 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 10 Apr 2014 20:51:16 +0000 (10 22:51 +0200)
tree0756f1115a6d69b4f80a7bdb754d7bbcd64222f9
parent11f8efcda109b78365b36f04e4828cbd742dd1ec
Fix COMMENT keyword when stacked with a regular keyword

* lisp/org.el (org-set-font-lock-defaults): Fix headline fontification
  when keywords are stacked.
(org-toggle-comment): Properly toggle COMMENT keyword when a regular
keyword is already present.
(org-todo, org-agenda-prepare-buffers): Correctly match a commented
heading.
* lisp/org-colview.el (org-columns-capture-view): Correctly match
  a commented heading.

* testing/lisp/test-org.el (test-org/toggle-comment): New test.
lisp/org-colview.el
lisp/org.el
testing/lisp/test-org.el