Function: bookmark-insert-annotation
bookmark-insert-annotation is a byte-compiled function defined in
bookmark.el.gz.
Signature
(bookmark-insert-annotation BOOKMARK-NAME-OR-RECORD)
Documentation
Insert annotation for BOOKMARK-NAME-OR-RECORD at point.
Source Code
;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defun bookmark-insert-annotation (bookmark-name-or-record)
"Insert annotation for BOOKMARK-NAME-OR-RECORD at point."
(when (not (bookmark-get-bookmark bookmark-name-or-record t))
(error "Invalid bookmark: %s" bookmark-name-or-record))
(insert (funcall bookmark-edit-annotation-text-func bookmark-name-or-record))
(let ((annotation (bookmark-get-annotation bookmark-name-or-record)))
(if (and annotation (not (string-equal annotation "")))
(insert annotation))))