diff options
| author | Karl Fogel | 2010-07-14 11:57:54 -0400 |
|---|---|---|
| committer | Karl Fogel | 2010-07-14 11:57:54 -0400 |
| commit | e44fa724e4563cfd3f30b85c3c16a2d2dab65ccd (patch) | |
| tree | 0d518ac756edeaf43522be1cec5c784f8dc1f702 /lisp/info.el | |
| parent | 2bb8db3ea7516856cc42e2b597a3348fe8e5e678 (diff) | |
| download | emacs-e44fa724e4563cfd3f30b85c3c16a2d2dab65ccd.tar.gz emacs-e44fa724e4563cfd3f30b85c3c16a2d2dab65ccd.zip | |
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/info.el')
| -rw-r--r-- | lisp/info.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/info.el b/lisp/info.el index 9a30f63fff0..65b9492e351 100644 --- a/lisp/info.el +++ b/lisp/info.el | |||
| @@ -4901,7 +4901,8 @@ BUFFER is the buffer speedbar is requesting buttons for." | |||
| 4901 | '(Info-mode . Info-restore-desktop-buffer)) | 4901 | '(Info-mode . Info-restore-desktop-buffer)) |
| 4902 | 4902 | ||
| 4903 | ;;;; Bookmark support | 4903 | ;;;; Bookmark support |
| 4904 | (declare-function bookmark-make-record-default "bookmark" (&optional pos-only)) | 4904 | (declare-function bookmark-make-record-default |
| 4905 | "bookmark" (&optional no-file no-context posn)) | ||
| 4905 | (declare-function bookmark-prop-get "bookmark" (bookmark prop)) | 4906 | (declare-function bookmark-prop-get "bookmark" (bookmark prop)) |
| 4906 | (declare-function bookmark-default-handler "bookmark" (bmk)) | 4907 | (declare-function bookmark-default-handler "bookmark" (bmk)) |
| 4907 | (declare-function bookmark-get-bookmark-record "bookmark" (bmk)) | 4908 | (declare-function bookmark-get-bookmark-record "bookmark" (bmk)) |
| @@ -4910,7 +4911,7 @@ BUFFER is the buffer speedbar is requesting buttons for." | |||
| 4910 | "This implements the `bookmark-make-record-function' type (which see) | 4911 | "This implements the `bookmark-make-record-function' type (which see) |
| 4911 | for Info nodes." | 4912 | for Info nodes." |
| 4912 | `(,Info-current-node | 4913 | `(,Info-current-node |
| 4913 | ,@(bookmark-make-record-default 'point-only) | 4914 | ,@(bookmark-make-record-default 'no-file) |
| 4914 | (filename . ,Info-current-file) | 4915 | (filename . ,Info-current-file) |
| 4915 | (info-node . ,Info-current-node) | 4916 | (info-node . ,Info-current-node) |
| 4916 | (handler . Info-bookmark-jump))) | 4917 | (handler . Info-bookmark-jump))) |