diff options
Diffstat (limited to 'lisp/register.el')
| -rw-r--r-- | lisp/register.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/register.el b/lisp/register.el index 7cc3ccd870c..e395963f56a 100644 --- a/lisp/register.el +++ b/lisp/register.el | |||
| @@ -164,6 +164,10 @@ display such a window regardless." | |||
| 164 | help-chars) | 164 | help-chars) |
| 165 | (unless (get-buffer-window buffer) | 165 | (unless (get-buffer-window buffer) |
| 166 | (register-preview buffer 'show-empty))) | 166 | (register-preview buffer 'show-empty))) |
| 167 | (when (or (eq ?\C-g last-input-event) | ||
| 168 | (eq 'escape last-input-event) | ||
| 169 | (eq ?\C-\[ last-input-event)) | ||
| 170 | (keyboard-quit)) | ||
| 167 | (if (characterp last-input-event) last-input-event | 171 | (if (characterp last-input-event) last-input-event |
| 168 | (error "Non-character input-event"))) | 172 | (error "Non-character input-event"))) |
| 169 | (and (timerp timer) (cancel-timer timer)) | 173 | (and (timerp timer) (cancel-timer timer)) |