* lisp/subr.el (read-char-from-minibuffer): Fix bug#68995
This commit is contained in:
parent
8d6a8e573f
commit
c4ec6d0472
1 changed files with 2 additions and 2 deletions
|
@ -3726,10 +3726,10 @@ There is no need to explicitly add `help-char' to CHARS;
|
|||
(this-command this-command)
|
||||
(result (minibuffer-with-setup-hook
|
||||
(lambda ()
|
||||
(setq-local post-self-insert-hook nil)
|
||||
(add-hook 'post-command-hook
|
||||
(lambda ()
|
||||
;; FIXME: Should we use `<='?
|
||||
(if (= (1+ (minibuffer-prompt-end))
|
||||
(if (<= (1+ (minibuffer-prompt-end))
|
||||
(point-max))
|
||||
(exit-minibuffer)))
|
||||
nil 'local))
|
||||
|
|
Loading…
Add table
Reference in a new issue