From 4a03e44858d9a44dbde9e41abc4b8c23d6ff66f5 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 26 Apr 2010 06:58:21 +0200 Subject: [PATCH] Turn off indent-tabs-mode when org-indent-mode is on This makes for peter (if still imperfect) tag alignment. Patch by Jason Dunsmore --- lisp/ChangeLog | 5 +++++ lisp/org-indent.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9bcbbc67f..134739392 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-04-26 Carsten Dominik + + * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode' + which messes up alignment of tags. + 2010-04-25 Carsten Dominik * org-clock.el (org-clock-cancel, org-clock-out): Make sure diff --git a/lisp/org-indent.el b/lisp/org-indent.el index c8754725a..1d1075431 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))