diff options
author | Bastien Guerry <bzg@altern.org> | 2012-08-10 10:08:58 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2012-08-10 10:12:44 +0200 |
commit | 068a354747f0829a0d1652a79dfa00433e60fa87 (patch) | |
tree | 7806f57dbf7dceb1fa3f8d146eed70d15889ae7f | |
parent | a4e3ed9a2fbfeabc57b9d4628a33463ee79ee19e (diff) | |
download | org-mode-068a354747f0829a0d1652a79dfa00433e60fa87.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.el | 3 |
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." |