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:
parent
8e22aafe9a
commit
7524ef25ff
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue