Mercurial > emacs
diff etc/NEWS @ 96280:bfca3297fa0b
* 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.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Wed, 25 Jun 2008 16:51:33 +0000 |
| parents | dd9a4766432a |
| children | 5df646ce1545 |
line wrap: on
line diff
--- a/etc/NEWS Wed Jun 25 15:46:23 2008 +0000 +++ b/etc/NEWS Wed Jun 25 16:51:33 2008 +0000 @@ -864,6 +864,9 @@ * Lisp Changes in Emacs 23.1 +** bookmark provides `bookmark-make-record-function' so special major modes +like Info can teach bookmark.el how to save&restore the relevant data. + ** The new variable next-error-recenter specifies how next-error should recenter the visited source file. Its value can be a number (for example, 0 for top line, -1 for bottom line), or nil for no recentering.
