Function: org-occur-link-in-agenda-files

org-occur-link-in-agenda-files is an interactive and byte-compiled function defined in org.el.gz.

Signature

(org-occur-link-in-agenda-files)

Documentation

Create a link and search for it in the agendas.

The link is not stored in org-stored-links, it is just created for the search purpose.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-occur-link-in-agenda-files ()
  "Create a link and search for it in the agendas.
The link is not stored in `org-stored-links', it is just created
for the search purpose."
  (interactive)
  (let ((link (condition-case nil
		  (org-store-link nil)
		(error "Unable to create a link to here"))))
    (org-occur-in-agenda-files (regexp-quote link))))