branch: elpa/exec-path-from-shell
commit 1d373ba14c28d9947fba7ceca52f5bc5389a2776
Author: Matus Goljer <[email protected]>
Commit: GitHub <[email protected]>

    Fix defcustom for exec-path-from-shell-shell-name
---
 exec-path-from-shell.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index d9cd0a234f..3384897516 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -94,7 +94,9 @@ Environment variables should be set in .profile or .zshenv 
rather than
   "If non-nil, use this shell executable.
 Otherwise, use either `shell-file-name' (if set), or the value of
 the SHELL environment variable."
-  :type 'file
+  :type '(choice
+          (file :tag "Shell executable")
+          (const :tag "Use `shell-file-name' or $SHELL" nil))
   :group 'exec-path-from-shell)
 
 (defvar exec-path-from-shell-debug nil

Reply via email to