[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 54c1d4a0c6 047/114: Don't break if $S
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 54c1d4a0c6 047/114: Don't break if $SHELL is unset at load-time |
Date: |
Tue, 5 Sep 2023 03:59:59 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 54c1d4a0c6e3cbf66e1399298d4cf1bc575020be
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Don't break if $SHELL is unset at load-time
Fixes #20
---
exec-path-from-shell.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index b301b0de65..56d381668b 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -91,7 +91,7 @@
(defun exec-path-from-shell--tcsh-p (shell)
"Return non-nil if SHELL appears to be tcsh."
- (string-match "tcsh$" shell))
+ (and shell (string-match "tcsh$" shell)))
(defun exec-path-from-shell--login-arg (shell)
"Return the name of the --login arg for SHELL."
- [nongnu] elpa/exec-path-from-shell 183385ab94 016/114: Set checkdoc-minor-mode in local vars without using exec, (continued)
- [nongnu] elpa/exec-path-from-shell 183385ab94 016/114: Set checkdoc-minor-mode in local vars without using exec, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 8ec1a90951 019/114: Fully escape interspersed null characters too (see #5), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell f8e39d754c 023/114: Tidier code for double-quoting printf args, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 54f272f46e 024/114: Better docstrings, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ab268a035a 026/114: Use the system-wide printf binary (if available) instead of shell built-in, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 1e51ae1f97 027/114: With tcsh, examine each variable with a separate shell invocation, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 3ff20e8d60 028/114: Update copyright year, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 49219e9425 029/114: Append exec-directory to exec-path, as is conventional, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 247683134a 035/114: Include shell output in debug messages, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4f90eff044 039/114: Include shell output in error upon non-zero exit, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 54c1d4a0c6 047/114: Don't break if $SHELL is unset at load-time,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell e381af89a7 048/114: Note about inheriting of environment variables, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4c328130ec 049/114: Remove unnecessary dash to appease old csh, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 63a88bfb4f 055/114: Warn users if the "-i" arg makes a difference given their startup files, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5836fb1656 066/114: Drop mention of marmalade, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 17fe8465cd 063/114: Merge pull request #44 from ksjogo/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 6be6e33bbe 057/114: Demote the warning to a message, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 731d805ed3 072/114: Also run exec-path-from-shell-initialize on Linux in example, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5e355fbc50 076/114: Merge pull request #68 from timhillgit/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 20ad9805fd 077/114: Add Patreon badge, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4d0af12747 081/114: Merge pull request #77 from jabranham/byte-compile, ELPA Syncer, 2023/09/05