summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-08-10 10:08:58 +0200
committerBastien Guerry <bzg@altern.org>2012-08-10 10:08:58 +0200
commit1e73d2bbc3ce635928ddd234d16ac9332460aa72 (patch)
tree7806f57dbf7dceb1fa3f8d146eed70d15889ae7f
parenta4e3ed9a2fbfeabc57b9d4628a33463ee79ee19e (diff)
downloadorg-mode-1e73d2bbc3ce635928ddd234d16ac9332460aa72.tar.gz
org-agenda.el (org-agenda-switch-to): Run hooks in ̀org-agenda-after-show-hook'
* org-agenda.el (org-agenda-switch-to): Run hooks in ̀org-agenda-after-show-hook'. Thanks to Jack Erwin for suggesting this.
-rw-r--r--lisp/org-agenda.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index a70e968..09e5eab 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -7512,7 +7512,8 @@ at the text of the entry itself."
(and (outline-next-heading)
(org-flag-heading nil))) ; show the next heading
(when (outline-invisible-p)
- (show-entry)))))) ; display invisible text
+ (show-entry)) ; display invisible text
+ (run-hooks 'org-agenda-after-show-hook)))))
(defun org-agenda-goto-mouse (ev)
"Go to the Org-mode file which contains the item at the mouse click."