aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris2014-02-01 17:04:08 -0800
committerGlenn Morris2014-02-01 17:04:08 -0800
commit7c3247627a102b53e9808ef51eca4a22c3a39fa3 (patch)
tree0991781118d5d1e1a20952a9f5919e41b2bcd512 /doc
parent28e6cee8178fb4134480e01e92a3a58a64e6cbee (diff)
downloademacs-7c3247627a102b53e9808ef51eca4a22c3a39fa3.tar.gz
emacs-7c3247627a102b53e9808ef51eca4a22c3a39fa3.zip
register preview fixes
* doc/emacs/regs.texi (Registers): Mention previewing. * lisp/register.el (register-preview-default): New function, split from register-preview. (register-preview-function): Rename from register-preview-functions, make it not a hook. (register-preview): Use register-preview-function. (register-read-with-preview): Error on non-character event. * etc/NEWS: Related markup. Fixes: debbugs:16595
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/regs.texi9
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 8f29d7c01f6..4478e4bd72c 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12014-02-02 Glenn Morris <rgm@gnu.org>
2
3 * regs.texi (Registers): Mention previewing.
4
12014-01-29 Glenn Morris <rgm@gnu.org> 52014-01-29 Glenn Morris <rgm@gnu.org>
2 6
3 * killing.texi (Deletion): Mention cycle-spacing. 7 * killing.texi (Deletion): Mention cycle-spacing.
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi
index 8ed0d848f59..8968cbbcffa 100644
--- a/doc/emacs/regs.texi
+++ b/doc/emacs/regs.texi
@@ -29,6 +29,15 @@ you store something else in that register. To see what register
29Display a description of what register @var{r} contains. 29Display a description of what register @var{r} contains.
30@end table 30@end table
31 31
32@vindex register-preview-delay
33@cindex preview of registers
34 All of the commands that prompt for a register will display a
35``preview'' window that lists the existing registers (if there are
36any) after a short delay. To change the length of the delay,
37customize @code{register-preview-delay}. To prevent this display, set
38that option to @code{nil}. You can explicitly request a preview
39window by pressing @kbd{C-h} or @key{F1}.
40
32 @dfn{Bookmarks} record files and positions in them, so you can 41 @dfn{Bookmarks} record files and positions in them, so you can
33return to those positions when you look at the file again. Bookmarks 42return to those positions when you look at the file again. Bookmarks
34are similar in spirit to registers, so they are also documented in 43are similar in spirit to registers, so they are also documented in