Переглянути джерело

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.
Bastien Guerry 12 роки тому
батько
коміт
068a354747
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      lisp/org-agenda.el

+ 2 - 1
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."