org-indent: Fix indentation with proportional font
commit4e74897153ae2a6637b64718b223210ae9b995f9
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 20 Aug 2015 11:58:00 +0000 (20 13:58 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 20 Aug 2015 11:58:00 +0000 (20 13:58 +0200)
treed8b411f97ae438b2b99562b7c20dc0ae30411409
parentf9f35bc79b55f4243dd0e289653cac7ee8418ea3
org-indent: Fix indentation with proportional font

* lisp/org-indent.el (org-indent-max):
(org-indent-max-levels):
(org-indent-strings):
(org-indent-stars): Remove unused variables.

(org-indent-initialize): Remove function.

(org-indent-boundary-char): Remove unnecessary comment.  Do not rely on
function above.

(org-indent): Make sure characters used for virtual indentation are
invisible since they are not necessarily white spaces.

(org-indent-set-line-properties): Fix indentation with proportional
font, i.e., do not use only white spaces to indent.
(org-indent-add-properties): Apply changes above.

Reported-by: Jakub Szypulka <jakub@szypulka.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/100252>
lisp/org-indent.el