]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't double up keys in epa--list-keys
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Jan 2021 16:35:55 +0000 (17:35 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 18 Jan 2021 16:35:55 +0000 (17:35 +0100)
* lisp/epa.el (epa--list-keys): Delete the list keys before
redisplaying (bug#44134).

lisp/epa.el

index e909b1d8698075ec1f0f5c6432483cb6667483a9..197cd92f9773118dd2baefbcfe795cdda2fd4fef 100644 (file)
@@ -374,7 +374,7 @@ DOC is documentation text to insert at the start."
     ;; Now delete the key description text, if any.
     (when point
       (delete-region point
-                    (or (next-single-property-change point 'epa-key)
+                    (or (next-single-property-change point 'epa-list-keys)
                         (point-max)))
       (goto-char point))