]> git.eshelyaron.com Git - emacs.git/commit
Rewrite the epa key interface to use buttons instead of widgets
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Aug 2020 19:54:56 +0000 (21:54 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 24 Aug 2020 19:54:56 +0000 (21:54 +0200)
commit517285f7caed462c822c779efe14033645dccba0
treeeaa58290a80f045e93498a7fa5e11f7da1fbd54d
parent0980e1f537d48d6e1eb761b4a7a87878efffc12f
Rewrite the epa key interface to use buttons instead of widgets

* lisp/epa.el (epa-font-lock-keywords): Removed.
(epa-key-list-mode-map): Bind tab/backtab to button navigation.
(epa-key): Remove widget.
(epa--button-key-text): Return the propertized text instead of
return a widget text.
(epa-key-list-mode): Don't use font locking; everything is output
as it should be.
(epa--insert-keys): Rewrite to just output the data instead of
widgetising.
(epa--select-keys): Insert buttons instead of widgets.
lisp/epa.el