summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2010-04-14 11:07:53 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2010-04-14 11:07:53 -0400
commitebb9641fb29728e9fbba70cb27f2d42679e32de7 (patch)
tree577b464e524ffe81d17774c387febee1ad57b66e /lisp/man.el
parent7b05466ff6721988517519081078b19fffeecd09 (diff)
downloademacs-ebb9641fb29728e9fbba70cb27f2d42679e32de7.tar.gz
Add a new field `location' to bookmarks for non-file bookmarks.
* bookmark.el (bookmark-location): Use the new field, if present. (bookmark-insert-location): Undo last change, not needed any more. * man.el (Man-bookmark-make-record): * woman.el (woman-bookmark-make-record): * gnus-sum.el (gnus-summary-bookmark-make-record): Add `location' field.
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 67bdcbea4e6..df5f4807cec 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -1689,8 +1689,9 @@ Uses `Man-name-local-regexp'."
"Make a bookmark entry for a Man buffer."
`(,(Man-default-bookmark-title)
,@(bookmark-make-record-default 'point-only)
- (man-args . ,Man-arguments)
- (handler . Man-bookmark-jump)))
+ (location . ,(concat "man " Man-arguments))
+ (man-args . ,Man-arguments)
+ (handler . Man-bookmark-jump)))
;;;###autoload
(defun Man-bookmark-jump (bookmark)