diff options
author | Marco Wahl <marcowahlsoft@gmail.com> | 2016-02-05 11:56:01 +0100 |
---|---|---|
committer | Marco Wahl <marcowahlsoft@gmail.com> | 2016-02-05 12:02:52 +0100 |
commit | 8a293ac999974326c0062c8799836e8d4bd4cee6 (patch) | |
tree | 7a0319b2d5e222d68d367fc2a8e1b2c1281c5cce | |
parent | 99697abdb98f67d8fad90a2fd39316ea3c0982dd (diff) | |
download | org-mode-8a293ac999974326c0062c8799836e8d4bd4cee6.tar.gz |
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.
-rw-r--r-- | lisp/org-colview.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-colview.el b/lisp/org-colview.el index dea1294..a903d4d 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -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 |