]> git.eshelyaron.com Git - emacs.git/commit
(read-passwd-toggle-visibility): Fix some loose ends
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 5 May 2024 14:43:37 +0000 (10:43 -0400)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:55:38 +0000 (18:55 +0200)
commit52feefc7591e393fc47d4ea1d1082151bf52a55a
treef7fa7275f26e808f7deb6d363b998dd2edd95343
parente9a4c011d3419f5ef0b00af9f3d32eca3555749d
(read-passwd-toggle-visibility): Fix some loose ends

* lisp/auth-source.el (read-passwd-toggle-visibility): Make sure
we operate on the minibuffer even if some other window was
selected when the little icon was pressed.  Don't hardcode the
keymap representation.  Use the `keymap` property rather than
the `local-map` property so it can't be accidentally shadowed
by something like a minor-mode map.

(cherry picked from commit 61ad641893bc521e98cc06162634299d57b2bf8a)
lisp/auth-source.el