Minor fix

This commit is contained in:
Carsten Dominik 2010-03-21 08:28:37 +01:00
parent 7ef096f397
commit 19113c46c9
1 changed files with 1 additions and 1 deletions

View File

@ -6385,7 +6385,7 @@ first headline."
(let ((current-level (org-current-level))
(prev-level (when (> (line-number-at-pos) 1)
(save-excursion
(previous-line)
(beginning-of-line 0)
(org-current-level)))))
(cond ((null current-level) nil) ; Before first headline
((null prev-level) 0) ; At first headline