Function: bookmark-insert-location

bookmark-insert-location is an autoloaded, interactive and byte-compiled function defined in bookmark.el.gz.

Signature

(bookmark-insert-location BOOKMARK-NAME &optional NO-HISTORY)

Documentation

Insert the name of the file associated with BOOKMARK-NAME.

Optional second arg NO-HISTORY means don't record this in the minibuffer history list bookmark-history.

View in manual

Key Bindings

Aliases

bookmark-locate

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
;;;###autoload
(defun bookmark-insert-location (bookmark-name &optional no-history)
  "Insert the name of the file associated with BOOKMARK-NAME.

Optional second arg NO-HISTORY means don't record this in the
minibuffer history list `bookmark-history'."
  (interactive (list (bookmark-completing-read "Insert bookmark location")))
  (or no-history (bookmark-maybe-historicize-string bookmark-name))
  (insert (bookmark-location bookmark-name)))