summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-01-08 14:29:29 +0100
committerBastien Guerry <bzg@altern.org>2013-01-08 14:29:29 +0100
commit05f5f726fbee9aaaccca99e6d446cf265f1d5b80 (patch)
tree0786fd7d5771b67e5b9e4e2b36854961e5432f0a
parent2d81219147719317887cdedc5286b1afa5bfb9d1 (diff)
downloadorg-mode-05f5f726fbee9aaaccca99e6d446cf265f1d5b80.tar.gz
org-agenda (org-agenda-finalize): Don't remove tag alignment
* org-agenda.el (org-agenda-finalize): Don't remove tag alignment depending on `org-prefix-has-tag', this should depend on `org-agenda-remove-tags'. Thanks to Rainer Stengele for reporting this.
-rw-r--r--lisp/org-agenda.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 9b7515f..d74444c 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3541,8 +3541,7 @@ generating a new one."
(while (org-activate-plain-links (point-max))
(add-text-properties (match-beginning 0) (match-end 0)
'(face org-link))))
- (when (cadr (assoc 'org-prefix-has-tag
- (car org-prefix-format-compiled)))
+ (unless (eq org-agenda-remove-tags t)
(org-agenda-align-tags))
(unless org-agenda-with-colors
(remove-text-properties (point-min) (point-max) '(face nil))))