Browse Source

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.
Bastien Guerry 12 years ago
parent
commit
05f5f726fb
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lisp/org-agenda.el

+ 1 - 2
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))))