Mercurial > emacs
diff lisp/man.el @ 107855:d9895f87d758
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.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 14 Apr 2010 11:07:53 -0400 |
parents | f50f5478ec53 |
children | bace4ba4c137 |
line wrap: on
line diff
--- a/lisp/man.el Wed Apr 14 03:43:54 2010 +0300 +++ b/lisp/man.el Wed Apr 14 11:07:53 2010 -0400 @@ -1689,8 +1689,9 @@ "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)