Mercurial > emacs
diff lisp/info.el @ 105443:96a9f1a0939b
(Info-bookmark-make-record): Document this function.
(Info-bookmark-jump): Document with a doc string, not just a comment.
(Bug#4061)
author | Karl Fogel <kfogel@red-bean.com> |
---|---|
date | Sun, 04 Oct 2009 23:31:52 +0000 |
parents | bd2966850aac |
children | 6220a5eef4ef |
line wrap: on
line diff
--- a/lisp/info.el Sun Oct 04 19:25:26 2009 +0000 +++ b/lisp/info.el Sun Oct 04 23:31:52 2009 +0000 @@ -4769,6 +4769,8 @@ (declare-function bookmark-get-bookmark-record "bookmark" (bmk)) (defun Info-bookmark-make-record () + "This implements the `bookmark-make-record-function' type (which see) +for Info nodes." `(,Info-current-node ,@(bookmark-make-record-default 'point-only) (filename . ,Info-current-file) @@ -4777,8 +4779,8 @@ ;;;###autoload (defun Info-bookmark-jump (bmk) - ;; This implements the `handler' function interface for record type returned - ;; by `Info-bookmark-make-record', which see. + "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!