Turn off indent-tabs-mode when org-indent-mode is on

This makes for peter (if still imperfect) tag alignment.

Patch by Jason Dunsmore
This commit is contained in:
Carsten Dominik 2010-04-26 06:58:21 +02:00
parent de0903ba9f
commit 4a03e44858
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-04-26 Carsten Dominik <carsten.dominik@gmail.com>
* org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
which messes up alignment of tags.
2010-04-25 Carsten Dominik <carsten.dominik@gmail.com> 2010-04-25 Carsten Dominik <carsten.dominik@gmail.com>
* org-clock.el (org-clock-cancel, org-clock-out): Make sure * org-clock.el (org-clock-cancel, org-clock-out): Make sure

View File

@ -131,6 +131,7 @@ FIXME: How to update when broken?"
(setq org-indent-mode nil) (setq org-indent-mode nil)
(if org-indent-mode (if org-indent-mode
(progn (progn
(org-set-local 'indent-tabs-mode nil)
(or org-indent-strings (org-indent-initialize)) (or org-indent-strings (org-indent-initialize))
(when org-indent-mode-turns-off-org-adapt-indentation (when org-indent-mode-turns-off-org-adapt-indentation
(org-set-local 'org-adapt-indentation nil)) (org-set-local 'org-adapt-indentation nil))