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
647ab967
Commit
647ab967
authored
Oct 05, 2011
by
Leo Liu
Browse files
Fix argument to buffer-live-p in read-char-choice
parent
3ddfbced
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/subr.el
lisp/subr.el
+1
-1
No files found.
lisp/ChangeLog
View file @
647ab967
2011-10-05 Leo Liu <sdl.web@gmail.com>
* subr.el (read-char-choice): Fix argument to buffer-live-p which
works with buffer object.
2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
* mpc.el (mpc-tool-bar-map): Add labels.
...
...
lisp/subr.el
View file @
647ab967
...
...
@@ -2170,7 +2170,7 @@ keyboard-quit events while waiting for a valid input."
(
setq
prompt
(
propertize
prompt
'face
'minibuffer-prompt
)))
(
setq
char
(
let
((
inhibit-quit
inhibit-keyboard-quit
))
(
read-key
prompt
)))
(
and
show-help
(
buffer-live-p
helpbuf
)
(
and
show-help
(
buffer-live-p
(
get-buffer
helpbuf
)
)
(
kill-buffer
helpbuf
))
(
cond
((
not
(
numberp
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