comparison lisp/ChangeLog @ 92556:5944be8c8211

Change a return type, for greater extensibility. See http://lists.gnu.org/archive/html/emacs-devel/2007-12/msg01077.html and its thread for discussion leading to this change. * emacs-cvs/lisp/bookmark.el: (bookmark-jump-noselect): Return an alist instead of a dotted pair. (bookmark-jump, bookmark-jump-other-window, bookmark-insert) (bookmark-bmenu-2-window, bookmark-bmenu-other-window) (bookmark-bmenu-switch-other-window): Adjust accordingly. (bookmark-make-cell-function): Adjust documentation accordingly. * emacs-cvs/lisp/image-mode.el (image-bookmark-jump): Adjust return type accordingly; document. * emacs-cvs/lisp/doc-view.el (doc-view-bookmark-jump): Adjust return type accordingly; document.
author Karl Fogel <kfogel@red-bean.com>
date Fri, 07 Mar 2008 05:44:37 +0000
parents 6083f94fb7e4
children cb335afa065e
comparison
equal deleted inserted replaced
92555:d238ebc2c1e0 92556:5944be8c8211
1 2008-03-07 Karl Fogel <kfogel@red-bean.com>
2
3 Give a better name to part of the bookmark interface.
4
5 This was originally a much larger change, but halfway through I
6 updated and discovered that Stefan Monnier had done the rest.
7 It looks like he anticipated the new name too, because he used
8 `the-record' instead of `the-cell' for some internal variable names.
9
10 * lisp/bookmark.el
11 (bookmark-make-record-function): Was `bookmark-make-cell-function'.
12 (bookmark-make, bookmark-send-annotation): Update for above.
13 (bookmark-make-record-for-text-file): Was
14 `bookmark-make-cell-for-text-file. Fix doc string re rev 1.102.
15
16 * lisp/info.el: Adjust accordingly.
17 (Info-bookmark-make-record): Was `Info-bookmark-make-cell'.
18
19 * lisp/image-mode.el: Adjust accordingly.
20 (image-bookmark-make-record): Was `image-bookmark-make-cell'.
21
22 * lisp/doc-view.el: Adjust accordingly.
23 (doc-view-bookmark-make-record): Was `doc-view-bookmark-make-cell'.
24
1 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca> 25 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
2 26
3 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map): 27 * bookmark.el (bookmark-map, bookmark-read-annotation-mode-map):
4 Move initialization into declaration. 28 Move initialization into declaration.
5 (bookmark-get-info-node, bookmark-set-info-node): Remove. 29 (bookmark-get-info-node, bookmark-set-info-node): Remove.