diff options
| author | Jakob L. Kreuze | 2020-12-04 21:52:56 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2020-12-04 21:52:56 -0500 |
| commit | 4585b9c2863a219d5493ae8fd0a70b08ac8ba487 (patch) | |
| tree | 06a04382140f2cb91d887b7d9ab022f58424ebaf /lisp/jakob.el | |
| parent | 5df3de20f70aaecd44d1a71b322023bae4c11372 (diff) | |
Emacs-28-vcs compat.
Diffstat (limited to 'lisp/jakob.el')
| -rw-r--r-- | lisp/jakob.el | 5 |
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. |