1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

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>
* 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)
(if org-indent-mode
(progn
(org-set-local 'indent-tabs-mode nil)
(or org-indent-strings (org-indent-initialize))
(when org-indent-mode-turns-off-org-adapt-indentation
(org-set-local 'org-adapt-indentation nil))