|
From: | Platon Pronko |
Subject: | bug#45792: 28.0.50; regression in commit c7c154bb, minibuffer is not closed after opening a file |
Date: | Tue, 12 Jan 2021 13:29:23 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 |
Yes, of course minibufferp is much cleaner - I just wasn't aware of its existence :) But the problem still persists if I refactor the code to use it. Here's the code I used: (define-minor-mode dvorak-minor-mode "Use english-dvorak input method." :lighter nil (if (and dvorak-minor-mode (not (minibufferp))) (activate-input-method "english-dvorak"))) (define-global-minor-mode global-dvorak-mode dvorak-minor-mode dvorak-minor-mode) (global-dvorak-mode t) Actually even removing (not (minibufferp)) altogether has no effect on the issue. Best regards, Platon Pronko
[Prev in Thread] | Current Thread | [Next in Thread] |