|
From: | max . brieiev |
Subject: | bug#48254: 28.0.50; minibuffer does not show the prompt of a command on first invocation |
Date: | Tue, 11 May 2021 12:40:45 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
max.brieiev@gmail.com writes: > > (defun enable-english-dvorak () > (if (or (not (memq this-command '(y-or-n-p map-y-or-n-p))) > (and read-answer-short (equal this-command 'read-answer))) > (set-input-method "english-dvorak"))) > (add-hook 'minibuffer-setup-hook #'enable-english-dvorak) > My bad. I think this one is more correct. (defun enable-english-dvorak () (if (not (or (memq this-command '(y-or-n-p map-y-or-n-p)) (and read-answer-short (equal this-command 'read-answer)))) (set-input-method "english-dvorak"))) (add-hook 'minibuffer-setup-hook #'enable-english-dvorak)
[Prev in Thread] | Current Thread | [Next in Thread] |