Function: woman-bookmark-jump

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

Signature

(woman-bookmark-jump BOOKMARK)

Documentation

Default bookmark handler for Woman buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
;;;###autoload
(defun woman-bookmark-jump (bookmark)
  "Default bookmark handler for Woman buffers."
  (let* ((file (bookmark-prop-get bookmark 'man-args))
         ;; FIXME: we need woman-find-file-noselect, since
         ;; save-window-excursion can't protect us from the case where
         ;; woman-find-file creates a new frame.
         (buf  (save-window-excursion
                 (woman-find-file file) (current-buffer))))
    (bookmark-default-handler
     `("" (buffer . ,buf) . ,(bookmark-get-bookmark-record bookmark)))))