aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/register.el
diff options
context:
space:
mode:
authorKen Raeburn2017-07-31 01:13:53 -0400
committerKen Raeburn2017-07-31 01:13:53 -0400
commit13f3370400031e2ac1c9be0932f411370fc6984e (patch)
tree06f349b2b0f1cda9e36f7c4390d9d2d9bf49303c /lisp/register.el
parentcd0966b33c1fe975520e85e0e7af82c09e4754dc (diff)
parentdcfcaf40d577808d640016c886d4fae7280a7fd5 (diff)
downloademacs-scratch/raeburn-startup.tar.gz
emacs-scratch/raeburn-startup.zip
; Merge from branch 'master'scratch/raeburn-startup
Diffstat (limited to 'lisp/register.el')
-rw-r--r--lisp/register.el4
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))