org-indent: pay attention to org-indent-max and org-indent-max-levels
commitb955d7539f946f6b485a551c18fd21577a847bf3
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 19 Mar 2011 19:01:49 +0000 (19 20:01 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 18 Aug 2011 08:41:31 +0000 (18 10:41 +0200)
tree4d7ba51610f7b14ae8bb63595300cc5cdfef2dd1
parenta968b8c76f1f2936c566b9e205469b5cb3b03e1e
org-indent: pay attention to org-indent-max and org-indent-max-levels

* lisp/org-indent.el (org-indent-max-levels): modify default value and
  add comment.
  (org-indent-add-properties): pay attention to org-indent-max and
  org-indent-max-levels values.
  (org-indent-refresh-maybe): refactor code to avoid an unnecessary
  save excursion.
lisp/org-indent.el