]> git.eshelyaron.com Git - emacs.git/commitdiff
Allow TAB to go to a key in EPA key buffers
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 4 May 2021 09:25:33 +0000 (11:25 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 4 May 2021 09:25:33 +0000 (11:25 +0200)
* lisp/epa.el (epa--insert-keys): Allow TAB to go to the keys
(bug#47876).

lisp/epa.el

index bbfa2c188cc366264de84c1855804ae081c76135..2698b39ffe397216227bd6913584b556056e6d44 100644 (file)
@@ -333,7 +333,10 @@ If ARG is non-nil, mark the key."
     (insert
      (propertize
       (concat "  " (epa--button-key-text key))
-      'epa-key key))
+      'epa-key key
+      ;; Allow TAB to tab to the key.
+      'button t
+      'category t))
     (insert "\n")))
 
 (defun epa--list-keys (name secret &optional doc)