org-indent.el: Bugfix

* org-indent.el
(org-indent-add-properties): Bugfix: prevent negative value for
`added-ind-per-lvl'.

Thanks to Torsten Bronger for reporting this.
This commit is contained in:
Bastien Guerry 2013-02-27 22:23:15 +01:00
parent 8e22aafe9a
commit 7524ef25ff
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ stopped."
;; inline task or not.
(let* ((case-fold-search t)
(limited-re (org-get-limited-outline-regexp))
(added-ind-per-lvl (1- org-indent-indentation-per-level))
(added-ind-per-lvl (abs (1- org-indent-indentation-per-level)))
(pf (save-excursion
(and (ignore-errors (let ((outline-regexp limited-re))
(org-back-to-heading t)))