Function: help-bookmark-make-record

help-bookmark-make-record is a byte-compiled function defined in help-mode.el.gz.

Signature

(help-bookmark-make-record)

Documentation

Create and return a help-mode bookmark record.

Implements bookmark-make-record-function for help-mode buffers.

Source Code

;; Defined in /usr/src/emacs/lisp/help-mode.el.gz
(defun help-bookmark-make-record ()
  "Create and return a `help-mode' bookmark record.
Implements `bookmark-make-record-function' for `help-mode' buffers."
  (unless (car help-xref-stack-item)
    (error "Cannot create bookmark - help command not known"))
  `(,@(bookmark-make-record-default 'NO-FILE 'NO-CONTEXT)
      (help-fn     . ,(car help-xref-stack-item))
      (help-args   . ,(mapcar (lambda (a)
                                (if (bufferp a) (buffer-name a) a))
                              (cdr help-xref-stack-item)))
      (position    . ,(point))
      (handler     . help-bookmark-jump)))