summaryrefslogtreecommitdiff
path: root/lisp/jakob.el
diff options
context:
space:
mode:
authorJakob L. Kreuze2020-12-04 21:52:56 -0500
committerJakob L. Kreuze2020-12-04 21:52:56 -0500
commit4585b9c2863a219d5493ae8fd0a70b08ac8ba487 (patch)
tree06a04382140f2cb91d887b7d9ab022f58424ebaf /lisp/jakob.el
parent5df3de20f70aaecd44d1a71b322023bae4c11372 (diff)
Emacs-28-vcs compat.
Diffstat (limited to 'lisp/jakob.el')
-rw-r--r--lisp/jakob.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/jakob.el b/lisp/jakob.el
index 9082be2..c39f923 100644
--- a/lisp/jakob.el
+++ b/lisp/jakob.el
@@ -38,9 +38,8 @@
"Returns the paths of every password managed by `pass'."
(let ((prefix-length (1+ (length password-store-directory)))
(suffix-length (length ".gpg")))
- (map 'list
- #'(lambda (path) (cl-subseq path prefix-length (- suffix-length)))
- (directory-files-recursively password-store-directory ".gpg$"))))
+ (mapcar #'(lambda (path) (cl-subseq path prefix-length (- suffix-length)))
+ (directory-files-recursively password-store-directory ".gpg$"))))
(defun pass ()
"Prompt for a password and copy it to the clipboard.

© 2015 - 2026 Jakob L. Kreuze