diff options
| -rw-r--r-- | lisp/electric.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/electric.el b/lisp/electric.el index a3626a007e5..acc002abaac 100644 --- a/lisp/electric.el +++ b/lisp/electric.el | |||
| @@ -85,7 +85,7 @@ | |||
| 85 | cmd this-command) | 85 | cmd this-command) |
| 86 | (if (or (prog1 quit-flag (setq quit-flag nil)) | 86 | (if (or (prog1 quit-flag (setq quit-flag nil)) |
| 87 | (= last-input-char ?\C-g)) | 87 | (= last-input-char ?\C-g)) |
| 88 | (progn (setq unread-command-char -1 | 88 | (progn (setq unread-command-event nil |
| 89 | prefix-arg nil) | 89 | prefix-arg nil) |
| 90 | ;; If it wasn't cancelling a prefix character, then quit. | 90 | ;; If it wasn't cancelling a prefix character, then quit. |
| 91 | (if (or (= (length (this-command-keys)) 1) | 91 | (if (or (= (length (this-command-keys)) 1) |
| @@ -101,7 +101,7 @@ | |||
| 101 | (setq last-command this-command) | 101 | (setq last-command this-command) |
| 102 | (if (or (prog1 quit-flag (setq quit-flag nil)) | 102 | (if (or (prog1 quit-flag (setq quit-flag nil)) |
| 103 | (= last-input-char ?\C-g)) | 103 | (= last-input-char ?\C-g)) |
| 104 | (progn (setq unread-command-char -1) | 104 | (progn (setq unread-command-event nil) |
| 105 | (if (not inhibit-quit) | 105 | (if (not inhibit-quit) |
| 106 | (progn (ding) | 106 | (progn (ding) |
| 107 | (message "Quit") | 107 | (message "Quit") |