[PATCH] emacs: Update defvar

Niall Dooley dooleyn at gmail.com
Mon Nov 27 17:52:59 UTC 2023


This will check for the pass executable and if not found advise the user
what they need to do.
---
 contrib/emacs/password-store.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/emacs/password-store.el b/contrib/emacs/password-store.el
index 280aee5..a5c7029 100644
--- a/contrib/emacs/password-store.el
+++ b/contrib/emacs/password-store.el
@@ -60,7 +60,8 @@
   :type 'string)
 
 (defvar password-store-executable
-  (executable-find "pass")
+  (or (executable-find "pass")
+      "Depending on your system install pass or password-store")
   "Pass executable.")
 
 (defvar password-store-timeout-timer nil
-- 
2.30.2



More information about the Password-Store mailing list