Function: Man-bookmark-jump

Man-bookmark-jump is an autoloaded and byte-compiled function defined in man.el.gz.

Signature

(Man-bookmark-jump BOOKMARK)

Documentation

Default bookmark handler for Man buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/man.el.gz
;;;###autoload
(defun Man-bookmark-jump (bookmark)
  "Default bookmark handler for Man buffers."
  (let* ((man-args (bookmark-prop-get bookmark 'man-args))
         ;; Let bookmark.el do the window handling.
         ;; This let-binding needs to be active during the call to both
         ;; Man-getpage-in-background and accept-process-output.
         (Man-notify-method 'meek)
         (buf (Man-getpage-in-background man-args))
         (proc (get-buffer-process buf)))
    (while (and proc (eq (process-status proc) 'run))
      (accept-process-output proc))
    (bookmark-default-handler
     `("" (buffer . ,buf) . ,(bookmark-get-bookmark-record bookmark)))))