Mercurial > emacs
comparison lisp/bookmark.el @ 92567:059f423b02f8
* emacs-cvs/lisp/bookmark.el
(bookmark-set): Make `bookmark-make-record-function' buffer-local,
not `bookmark-make-cell-function' (the old name).
author | Karl Fogel <kfogel@red-bean.com> |
---|---|
date | Fri, 07 Mar 2008 17:03:37 +0000 |
parents | 5944be8c8211 |
children | f91d9f543b0a |
comparison
equal
deleted
inserted
replaced
92566:9bf18b4c7674 | 92567:059f423b02f8 |
---|---|
736 Use \\[bookmark-delete] to remove bookmarks \(you give it a name, | 736 Use \\[bookmark-delete] to remove bookmarks \(you give it a name, |
737 and it removes only the first instance of a bookmark with that name from | 737 and it removes only the first instance of a bookmark with that name from |
738 the list of bookmarks.\)" | 738 the list of bookmarks.\)" |
739 (interactive (list nil current-prefix-arg)) | 739 (interactive (list nil current-prefix-arg)) |
740 (or | 740 (or |
741 (local-variable-p 'bookmark-make-cell-function) | 741 (local-variable-p 'bookmark-make-record-function) |
742 (bookmark-buffer-file-name) | 742 (bookmark-buffer-file-name) |
743 (error "Buffer not visiting a file or directory")) | 743 (error "Buffer not visiting a file or directory")) |
744 | 744 |
745 (bookmark-maybe-load-default-file) | 745 (bookmark-maybe-load-default-file) |
746 | 746 |