Function: bookmark-get-bookmark-record

bookmark-get-bookmark-record is a byte-compiled function defined in bookmark.el.gz.

Signature

(bookmark-get-bookmark-record BOOKMARK-NAME-OR-RECORD)

Documentation

Return the record portion of BOOKMARK-NAME-OR-RECORD in bookmark-alist.

In other words, return all information but the name.

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defun bookmark-get-bookmark-record (bookmark-name-or-record)
  "Return the record portion of BOOKMARK-NAME-OR-RECORD in `bookmark-alist'.
In other words, return all information but the name."
  (let ((alist (cdr (bookmark-get-bookmark bookmark-name-or-record))))
    ;; The bookmark objects can either look like (NAME ALIST) or
    ;; (NAME . ALIST), so we have to distinguish the two here.
    (if (and (null (cdr alist)) (consp (caar alist)))
        (car alist) alist)))