* bookmark.el (bookmark-alist): Allow the 2 slightly different formats
commit43f8b2756816315f8779d64bad5cf6f1e14660e6
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Jun 2008 16:51:33 +0000 (25 16:51 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 25 Jun 2008 16:51:33 +0000 (25 16:51 +0000)
treedaa5e3267a033c21037dc1d3203c7f546ca59633
parentac935997e2a59b91ff18d894d47ba8a98202c22f
* bookmark.el (bookmark-alist): Allow the 2 slightly different formats
used until now in bookmark.el's code.
(bookmark-get-bookmark): Accept bookmark names or bookmark records.
(bookmark-get-bookmark-record): Allow the 2 slightly different formats
used until now in bookmark.el's code.
(bookmark-set-filename): Remove special code, moved to its only caller.
(bookmark-store): Use the newer format.
(bookmark-make-record-default): Add arg `point-only'.
Rename from bookmark-make-record-for-text-file.
(bookmark--jump-via): New function.
(bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window)
(bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window):
Use it.
(bookmark-jump-noselect, bookmark-default-handler):
Don't return an alist, instead return the data implicitly by changing
current buffer and point.  Signal an error if the file doesn't exist.
* info.el (Info-bookmark-make-record):
Use bookmark-make-record-default.
(Info-bookmark-jump): Use bookmark-default-handler.
* image-mode.el (image-bookmark-make-record):
Use bookmark-make-record-default.
(image-bookmark-jump): Use bookmark-default-handler.
* doc-view.el (doc-view-bookmark-make-record):
Use bookmark-make-record-default.
(doc-view-bookmark-jump): Use bookmark-default-handler.
etc/NEWS
lisp/ChangeLog
lisp/bookmark.el
lisp/doc-view.el
lisp/image-mode.el
lisp/info.el