Function: Info-bookmark-jump

Info-bookmark-jump is an autoloaded and byte-compiled function defined in info.el.gz.

Signature

(Info-bookmark-jump BMK)

Documentation

This implements the handler function interface for the record type returned by Info-bookmark-make-record, which see.

Source Code

;; Defined in /usr/src/emacs/lisp/info.el.gz
;;;###autoload
(defun Info-bookmark-jump (bmk)
  "This implements the `handler' function interface for the record
type returned by `Info-bookmark-make-record', which see."
  (let* ((file                   (bookmark-prop-get bmk 'filename))
         (info-node              (bookmark-prop-get bmk 'info-node))
         (buf (save-window-excursion    ;FIXME: doesn't work with frames!
                (Info-find-node file info-node) (current-buffer))))
    ;; Use bookmark-default-handler to move to the appropriate location
    ;; within the node.
    (bookmark-default-handler
     `("" (buffer . ,buf) . ,(bookmark-get-bookmark-record bmk)))))