mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
Replace epg--gv-nreverse with (cl-callf nreverse ...)
* lisp/epg.el (epg--gv-nreverse): Remove. (epg-list-keys): Replace it with (cl-callf nreverse ...).
This commit is contained in:
parent
8c3215e7a4
commit
a0aac5741e
10
lisp/epg.el
10
lisp/epg.el
@ -174,10 +174,6 @@
|
||||
(file nil :read-only t)
|
||||
(string nil :read-only t))
|
||||
|
||||
(defmacro epg--gv-nreverse (place)
|
||||
(gv-letplace (getter setter) place
|
||||
(funcall setter `(nreverse ,getter))))
|
||||
|
||||
(cl-defstruct (epg-context
|
||||
(:constructor nil)
|
||||
(:constructor epg-context--make
|
||||
@ -1390,10 +1386,10 @@ NAME is either a string or a list of strings."
|
||||
(setq keys (nreverse keys)
|
||||
pointer keys)
|
||||
(while pointer
|
||||
(epg--gv-nreverse (epg-key-sub-key-list (car pointer)))
|
||||
(setq pointer-1 (epg--gv-nreverse (epg-key-user-id-list (car pointer))))
|
||||
(cl-callf nreverse (epg-key-sub-key-list (car pointer)))
|
||||
(setq pointer-1 (cl-callf nreverse (epg-key-user-id-list (car pointer))))
|
||||
(while pointer-1
|
||||
(epg--gv-nreverse (epg-user-id-signature-list (car pointer-1)))
|
||||
(cl-callf nreverse (epg-user-id-signature-list (car pointer-1)))
|
||||
(setq pointer-1 (cdr pointer-1)))
|
||||
(setq pointer (cdr pointer)))
|
||||
keys))
|
||||
|
Loading…
Reference in New Issue
Block a user