diff options
| -rw-r--r-- | lisp/bookmark.el | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 64b467adfae..31e41a9273c 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -2054,7 +2054,10 @@ You can mark bookmarks with the \\<bookmark-bmenu-mode-map>\\[bookmark-bmenu-mar | |||
| 2054 | 2054 | ||
| 2055 | (defun bookmark-bmenu-save () | 2055 | (defun bookmark-bmenu-save () |
| 2056 | "Save the current list into a bookmark file. | 2056 | "Save the current list into a bookmark file. |
| 2057 | With a prefix arg, prompts for a file to save them in." | 2057 | With a prefix arg, prompts for a file to save them in. |
| 2058 | |||
| 2059 | See also the related behaviors of `bookmark-load' and | ||
| 2060 | `bookmark-bmenu-load'." | ||
| 2058 | (interactive nil bookmark-bmenu-mode) | 2061 | (interactive nil bookmark-bmenu-mode) |
| 2059 | (save-excursion | 2062 | (save-excursion |
| 2060 | (save-window-excursion | 2063 | (save-window-excursion |
| @@ -2063,7 +2066,19 @@ With a prefix arg, prompts for a file to save them in." | |||
| 2063 | 2066 | ||
| 2064 | 2067 | ||
| 2065 | (defun bookmark-bmenu-load () | 2068 | (defun bookmark-bmenu-load () |
| 2066 | "Load the bookmark file and rebuild the bookmark menu-buffer." | 2069 | "Load bookmarks from a file and rebuild the bookmark menu-buffer. |
| 2070 | Prompt for a file, with the default choice being the value of | ||
| 2071 | `bookmark-default-file'. | ||
| 2072 | |||
| 2073 | With a prefix argument, replace the current ambient bookmarks | ||
| 2074 | (i.e., the ones in `bookmark-alist') with the ones from the selected | ||
| 2075 | file and make that file be the new value of `bookmark-default-file'. | ||
| 2076 | In other words, a prefix argument means \"switch over to the bookmark | ||
| 2077 | universe defined in the loaded file\". Without a prefix argument, | ||
| 2078 | just add the loaded bookmarks into the current ambient set. | ||
| 2079 | |||
| 2080 | See the documentation for `bookmark-load' for more details; see also | ||
| 2081 | the related behaviors of `bookmark-save' and `bookmark-bmenu-save'." | ||
| 2067 | (interactive nil bookmark-bmenu-mode) | 2082 | (interactive nil bookmark-bmenu-mode) |
| 2068 | (bookmark-bmenu-ensure-position) | 2083 | (bookmark-bmenu-ensure-position) |
| 2069 | (save-excursion | 2084 | (save-excursion |