Function: bookmark-type-from-full-record

bookmark-type-from-full-record is a byte-compiled function defined in bookmark.el.gz.

Signature

(bookmark-type-from-full-record BOOKMARK-RECORD)

Documentation

Return the type of BOOKMARK-RECORD.

BOOKMARK-RECORD is, e.g., one element from bookmark-alist. Its type is read from the symbol property named bookmark-handler-type read on the record handler function.

Source Code

;; Defined in /usr/src/emacs/lisp/bookmark.el.gz
(defun bookmark-type-from-full-record (bookmark-record)
  "Return the type of BOOKMARK-RECORD.
BOOKMARK-RECORD is, e.g., one element from `bookmark-alist'.  Its
type is read from the symbol property named
`bookmark-handler-type' read on the record handler function."
  (let ((handler (bookmark-get-handler bookmark-record)))
    (when (autoloadp (symbol-function handler))
      (autoload-do-load (symbol-function handler)))
    (if (symbolp handler)
        (get handler 'bookmark-handler-type)
     "")))