diff options
| author | Glenn Morris | 2014-02-01 17:04:08 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-01 17:04:08 -0800 |
| commit | 7c3247627a102b53e9808ef51eca4a22c3a39fa3 (patch) | |
| tree | 0991781118d5d1e1a20952a9f5919e41b2bcd512 /doc | |
| parent | 28e6cee8178fb4134480e01e92a3a58a64e6cbee (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/regs.texi | 9 |
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 @@ | |||
| 1 | 2014-02-02 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * regs.texi (Registers): Mention previewing. | ||
| 4 | |||
| 1 | 2014-01-29 Glenn Morris <rgm@gnu.org> | 5 | 2014-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 | |||
| 29 | Display a description of what register @var{r} contains. | 29 | Display 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 | ||
| 36 | any) after a short delay. To change the length of the delay, | ||
| 37 | customize @code{register-preview-delay}. To prevent this display, set | ||
| 38 | that option to @code{nil}. You can explicitly request a preview | ||
| 39 | window 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 |
| 33 | return to those positions when you look at the file again. Bookmarks | 42 | return to those positions when you look at the file again. Bookmarks |
| 34 | are similar in spirit to registers, so they are also documented in | 43 | are similar in spirit to registers, so they are also documented in |