diff options
| author | Tino Calancha | 2017-07-25 11:38:28 +0900 |
|---|---|---|
| committer | Tino Calancha | 2017-07-25 11:40:25 +0900 |
| commit | 35954cb92b8cd4ad093756d171688343bab02c2e (patch) | |
| tree | f38fd0afd1752e8968f64964b63578daa3146f8d /doc | |
| parent | 32daa3cb54523006c88717cbeac87964cd687a1b (diff) | |
| download | emacs-35954cb92b8cd4ad093756d171688343bab02c2e.tar.gz emacs-35954cb92b8cd4ad093756d171688343bab02c2e.zip | |
register-read-with-preview: Quit if user input C-g or ESC
* lisp/register.el (register-read-with-preview):
Quit if user input C-g or ESC (bug#27634).
* doc/emacs/regs.texi (Registers): Update manual.
* test/lisp/register-tests.el (register-test-bug27634): Add test.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/regs.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi index 7369f6b05b6..40e3e2c1c31 100644 --- a/doc/emacs/regs.texi +++ b/doc/emacs/regs.texi | |||
| @@ -15,7 +15,10 @@ jump back to that position once, or many times. | |||
| 15 | Each register has a name that consists of a single character, which | 15 | Each register has a name that consists of a single character, which |
| 16 | we will denote by @var{r}; @var{r} can be a letter (such as @samp{a}) | 16 | we will denote by @var{r}; @var{r} can be a letter (such as @samp{a}) |
| 17 | or a number (such as @samp{1}); case matters, so register @samp{a} is | 17 | or a number (such as @samp{1}); case matters, so register @samp{a} is |
| 18 | not the same as register @samp{A}. | 18 | not the same as register @samp{A}. You can also set a register in |
| 19 | non-alphanumeric characters, for instance @samp{*} or @samp{C-d}. | ||
| 20 | Note, it's not possible to set a register in @samp{C-g} or @samp{ESC}, | ||
| 21 | because these keys are reserved to terminate interactive commands. | ||
| 19 | 22 | ||
| 20 | @findex view-register | 23 | @findex view-register |
| 21 | A register can store a position, a piece of text, a rectangle, a | 24 | A register can store a position, a piece of text, a rectangle, a |