1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-25 07:27:57 +00:00

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.
This commit is contained in:
Bastien Guerry 2012-08-10 10:08:58 +02:00
parent a4e3ed9a2f
commit 1e73d2bbc3

View File

@ -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."