aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2015-12-05 14:21:00 +0200
committerEli Zaretskii2015-12-05 14:21:00 +0200
commitce81e87751047ef964c8d7f15edbfb3ee4de6703 (patch)
treeadf9c121e93b795aaf420098fd8c399f6acaf5f0 /doc
parent30acbb9b5b8acab8a158112ed97aff694eafdc4d (diff)
downloademacs-ce81e87751047ef964c8d7f15edbfb3ee4de6703.tar.gz
emacs-ce81e87751047ef964c8d7f15edbfb3ee4de6703.zip
Document 'bookmark-set-no-overwrite'
* doc/emacs/regs.texi (Bookmarks): Document the new command 'bookmark-set-no-overwrite' and its keybinding.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/regs.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi
index d8841caa311..13c03f78a52 100644
--- a/doc/emacs/regs.texi
+++ b/doc/emacs/regs.texi
@@ -293,9 +293,11 @@ various files.
293Set the bookmark for the visited file, at point. 293Set the bookmark for the visited file, at point.
294 294
295@item C-x r m @var{bookmark} @key{RET} 295@item C-x r m @var{bookmark} @key{RET}
296@findex bookmark-set
297Set the bookmark named @var{bookmark} at point (@code{bookmark-set}). 296Set the bookmark named @var{bookmark} at point (@code{bookmark-set}).
298 297
298@item C-x r M @var{bookmark} @key{RET}
299Like @kbd{C-x r m}, but don't overwrite an existing bookmark.
300
299@item C-x r b @var{bookmark} @key{RET} 301@item C-x r b @var{bookmark} @key{RET}
300@findex bookmark-jump 302@findex bookmark-jump
301Jump to the bookmark named @var{bookmark} (@code{bookmark-jump}). 303Jump to the bookmark named @var{bookmark} (@code{bookmark-jump}).
@@ -320,6 +322,12 @@ name. If you name each bookmark after the file it points to, then you
320can conveniently revisit any of those files with @kbd{C-x r b}, and move 322can conveniently revisit any of those files with @kbd{C-x r b}, and move
321to the position of the bookmark at the same time. 323to the position of the bookmark at the same time.
322 324
325@kindex C-x r M
326@findex bookmark-set-no-overwrite
327 The command @kbd{C-x r M} (@code{bookmark-set-no-overwrite}) works
328like @kbd{C-x r m}, but it signals an error if the specified bookmark
329already exists, instead of overwriting it.
330
323@kindex C-x r l 331@kindex C-x r l
324 To display a list of all your bookmarks in a separate buffer, type 332 To display a list of all your bookmarks in a separate buffer, type
325@kbd{C-x r l} (@code{list-bookmarks}). If you switch to that buffer, 333@kbd{C-x r l} (@code{list-bookmarks}). If you switch to that buffer,