Browse Source

org.el (org-show-context): Don't try to fix ellipsis when showing a subtree in agenda

* org.el (org-show-context): Don't try to fix ellipsis when
showing a subtree in agenda.

Thanks to James Harkins for reporting this.
Bastien Guerry 12 years ago
parent
commit
6ca7953db5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -13290,7 +13290,7 @@ How much context is shown depends upon the variables
 		    (not (bobp)))
 	  (org-flag-heading nil)
 	  (when siblings-p (org-show-siblings)))))
-    (org-fix-ellipsis-at-bol)))
+    (unless (eq key 'agenda) (org-fix-ellipsis-at-bol))))
 
 (defvar org-reveal-start-hook nil
   "Hook run before revealing a location.")