Mercurial > emacs
comparison lisp/ChangeLog @ 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 | 5f58c2a66de7 |
children | fab5c585e3ae |
comparison
equal
deleted
inserted
replaced
96279:534958847ee0 | 96280:bfca3297fa0b |
---|---|
1 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca> | 1 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca> |
2 | |
3 * info.el (Info-bookmark-make-record): | |
4 Use bookmark-make-record-default. | |
5 (Info-bookmark-jump): Use bookmark-default-handler. | |
6 | |
7 * image-mode.el (image-bookmark-make-record): | |
8 Use bookmark-make-record-default. | |
9 (image-bookmark-jump): Use bookmark-default-handler. | |
10 | |
11 * doc-view.el (doc-view-bookmark-make-record): | |
12 Use bookmark-make-record-default. | |
13 (doc-view-bookmark-jump): Use bookmark-default-handler. | |
14 | |
15 * bookmark.el (bookmark-alist): Allow the 2 slightly different formats | |
16 used until now in bookmark.el's code. | |
17 (bookmark-get-bookmark): Accept bookmark names or bookmark records. | |
18 (bookmark-get-bookmark-record): Allow the 2 slightly different formats | |
19 used until now in bookmark.el's code. | |
20 (bookmark-set-filename): Remove special code, moved to its only caller. | |
21 (bookmark-store): Use the newer format. | |
22 (bookmark-make-record-default): Add arg `point-only'. | |
23 Rename from bookmark-make-record-for-text-file. | |
24 (bookmark--jump-via): New function. | |
25 (bookmark-jump, bookmark-jump-other-window, bookmark-bmenu-2-window) | |
26 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window): | |
27 Use it. | |
28 (bookmark-jump-noselect, bookmark-default-handler): | |
29 Don't return an alist, instead return the data implicitly by changing | |
30 current buffer and point. Signal an error if the file doesn't exist. | |
2 | 31 |
3 * buff-menu.el: Use with-current-buffer and inhibit-read-only. | 32 * buff-menu.el: Use with-current-buffer and inhibit-read-only. |
4 (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only. | 33 (Buffer-menu-toggle-read-only): Avoid vc-toggle-read-only. |
5 | 34 |
6 * bs.el: Use with-current-buffer. Simplify. | 35 * bs.el: Use with-current-buffer. Simplify. |