org-colview: Fix column view in agenda

* org-colview(org-columns-display-here): Fix for lines without level by
  giving them artificially level 0.

Idea: Exclude lines without level from column-view.
This commit is contained in:
Marco Wahl 2016-02-05 11:56:01 +01:00
parent 99697abdb9
commit 8a293ac999
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ This is the compiled version of the format.")
(interactive)
(save-excursion
(beginning-of-line)
(let* ((level (org-current-level))
(let* ((level (or (org-current-level) 0))
(level-face (and (looking-at "\\(\\**\\)\\(\\* \\)")
(org-get-level-face 2)))
(ref-face (or level-face