From 4585b9c2863a219d5493ae8fd0a70b08ac8ba487 Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Fri, 4 Dec 2020 21:52:56 -0500 Subject: Emacs-28-vcs compat. --- lisp/jakob.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lisp/jakob.el') 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. -- cgit v1.3