diff options
| author | Karl Fogel <kfogel@red-bean.com> | 2010-07-14 11:57:54 -0400 |
|---|---|---|
| committer | Karl Fogel <kfogel@red-bean.com> | 2010-07-14 11:57:54 -0400 |
| commit | e44fa724e4563cfd3f30b85c3c16a2d2dab65ccd (patch) | |
| tree | 0d518ac756edeaf43522be1cec5c784f8dc1f702 /lisp/man.el | |
| parent | 2bb8db3ea7516856cc42e2b597a3348fe8e5e678 (diff) | |
| download | emacs-e44fa724e4563cfd3f30b85c3c16a2d2dab65ccd.tar.gz | |
Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
* lisp/bookmark.el (bookmark-make-record-default): Allow unneeded
information to be omitted from the record.
Adjust declarations and calls:
* lisp/info.el (bookmark-make-record-default): Adjust declaration.
(Info-bookmark-make-record): Adjust call.
* lisp/woman.el (bookmark-make-record-default): Adjust declaration.
(woman-bookmark-make-record): Adjust call.
* lisp/man.el (bookmark-make-record-default): Adjust declaration.
(Man-bookmark-make-record): Adjust call.
* lisp/image-mode.el (bookmark-make-record-default): Adjust declaration.
* lisp/doc-view.el (bookmark-make-record-default): Adjust declaration.
* lisp/gnus/gnus-sum.el (bookmark-make-record-default): Adjust declaration.
Diffstat (limited to 'lisp/man.el')
| -rw-r--r-- | lisp/man.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/man.el b/lisp/man.el index f448795c1cb..88d1aa7c604 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -1674,7 +1674,8 @@ Specify which REFERENCE to use; default is based on word at point." complete-path)) ;;; Bookmark Man Support -(declare-function bookmark-make-record-default "bookmark" (&optional pos-only)) +(declare-function bookmark-make-record-default + "bookmark" (&optional no-file no-context posn)) (declare-function bookmark-prop-get "bookmark" (bookmark prop)) (declare-function bookmark-default-handler "bookmark" (bmk)) (declare-function bookmark-get-bookmark-record "bookmark" (bmk)) @@ -1691,7 +1692,7 @@ Uses `Man-name-local-regexp'." (defun Man-bookmark-make-record () "Make a bookmark entry for a Man buffer." `(,(Man-default-bookmark-title) - ,@(bookmark-make-record-default 'point-only) + ,@(bookmark-make-record-default 'no-file) (location . ,(concat "man " Man-arguments)) (man-args . ,Man-arguments) (handler . Man-bookmark-jump))) |
