summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-04-26 06:58:21 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-04-26 06:58:21 +0200
commit4a03e44858d9a44dbde9e41abc4b8c23d6ff66f5 (patch)
tree9357069a959d7f86b3d0aa2516cb28340feb15e4
parentde0903ba9fd5b68d5170181f913c8cc32bbce335 (diff)
downloadorg-mode-4a03e44858d9a44dbde9e41abc4b8c23d6ff66f5.tar.gz
Turn off indent-tabs-mode when org-indent-mode is on
This makes for peter (if still imperfect) tag alignment. Patch by Jason Dunsmore
-rwxr-xr-xlisp/ChangeLog5
-rw-r--r--lisp/org-indent.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9bcbbc6..1347393 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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
diff --git a/lisp/org-indent.el b/lisp/org-indent.el
index c875472..1d10754 100644
--- a/lisp/org-indent.el
+++ b/lisp/org-indent.el
@@ -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))