diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2017-07-25 11:38:28 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2017-07-25 11:40:25 +0900 |
commit | 35954cb92b8cd4ad093756d171688343bab02c2e (patch) | |
tree | f38fd0afd1752e8968f64964b63578daa3146f8d /doc/emacs/regs.texi | |
parent | 32daa3cb54523006c88717cbeac87964cd687a1b (diff) | |
download | emacs-35954cb92b8cd4ad093756d171688343bab02c2e.tar.gz |
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/emacs/regs.texi')
-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. Each register has a name that consists of a single character, which we will denote by @var{r}; @var{r} can be a letter (such as @samp{a}) or a number (such as @samp{1}); case matters, so register @samp{a} is -not the same as register @samp{A}. +not the same as register @samp{A}. You can also set a register in +non-alphanumeric characters, for instance @samp{*} or @samp{C-d}. +Note, it's not possible to set a register in @samp{C-g} or @samp{ESC}, +because these keys are reserved to terminate interactive commands. @findex view-register A register can store a position, a piece of text, a rectangle, a |