Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
6ccf7859
Commit
6ccf7859
authored
Jul 15, 2011
by
Glenn Morris
Browse files
* lisp/subr.el (read-char-choice): Allow quitting. (Bug#9001)
parent
4baf28e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/subr.el
lisp/subr.el
+3
-1
No files found.
lisp/ChangeLog
View file @
6ccf7859
2011-07-15 Glenn Morris <rgm@gnu.org>
* subr.el (read-char-choice): Allow quitting. (Bug#9001)
2011-07-09 Lawrence Mitchell <wence@gmx.li>
* net/gnutls.el (gnutls-min-prime-bits): New variable.
...
...
lisp/subr.el
View file @
6ccf7859
...
...
@@ -2161,7 +2161,9 @@ keyboard-quit events while waiting for a valid input."
;; read-event returns -1 if we are in a kbd macro and
;; there are no more events in the macro. Attempt to
;; get an event interactively.
(
setq
executing-kbd-macro
nil
)))))
(
setq
executing-kbd-macro
nil
))
((
and
(
not
inhibit-keyboard-quit
)
(
eq
char
?\C-g
))
(
keyboard-quit
)))))
;; Display the question with the answer. But without cursor-in-echo-area.
(
message
"%s%s"
prompt
(
char-to-string
char
))
char
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment