summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-01-18 17:35:55 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-01-18 17:35:55 +0100
commitf9dab612726148919812ec4ff804df6120022407 (patch)
tree524ea907ba5f6f4fc371c3657f59c0e6a403b286
parent455f08c095c5c1606142144508fc91eab0860a6a (diff)
downloademacs-f9dab612726148919812ec4ff804df6120022407.tar.gz
Don't double up keys in epa--list-keys
* lisp/epa.el (epa--list-keys): Delete the list keys before redisplaying (bug#44134).
-rw-r--r--lisp/epa.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/epa.el b/lisp/epa.el
index e909b1d8698..197cd92f977 100644
--- a/lisp/epa.el
+++ b/lisp/epa.el
@@ -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))