emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f9dab61: Don't double up keys in epa--list-keys


From: Lars Ingebrigtsen
Subject: master f9dab61: Don't double up keys in epa--list-keys
Date: Mon, 18 Jan 2021 11:36:03 -0500 (EST)

branch: master
commit f9dab612726148919812ec4ff804df6120022407
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Don't double up keys in epa--list-keys
    
    * lisp/epa.el (epa--list-keys): Delete the list keys before
    redisplaying (bug#44134).
---
 lisp/epa.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/epa.el b/lisp/epa.el
index e909b1d..197cd92 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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]