Function: org-insert-all-links
org-insert-all-links is an autoloaded, interactive and byte-compiled
function defined in ol.el.gz.
Signature
(org-insert-all-links ARG &optional PRE POST)
Documentation
Insert all links in org-stored-links.
When a universal prefix, do not delete the links from org-stored-links.
When ARG is a number, insert the last N link(s).
PRE and POST are optional arguments to define a string to
prepend or to append.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol.el.gz
;;;###autoload
(defun org-insert-all-links (arg &optional pre post)
"Insert all links in `org-stored-links'.
When a universal prefix, do not delete the links from `org-stored-links'.
When `ARG' is a number, insert the last N link(s).
`PRE' and `POST' are optional arguments to define a string to
prepend or to append."
(interactive "P")
(let ((org-link-keep-stored-after-insertion (equal arg '(4)))
(links (copy-sequence org-stored-links))
(pr (or pre "- "))
(po (or post "\n"))
(cnt 1) l)
(if (null org-stored-links)
(message "No link to insert")
(while (and (or (listp arg) (>= arg cnt))
(setq l (if (listp arg)
(pop links)
(pop org-stored-links))))
(setq cnt (1+ cnt))
(insert pr)
(org-insert-link nil (car l) (or (cadr l) "<no description>"))
(insert po)))))