[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 5e355fbc50 076/114: Merge pull reques
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 5e355fbc50 076/114: Merge pull request #68 from timhillgit/master |
Date: |
Tue, 5 Sep 2023 04:00:02 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 5e355fbc50913d1ffe48bf86df0bcecd8b369ffb
Merge: 15d07666fb 5736cc87e4
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>
Merge pull request #68 from timhillgit/master
Add sentinel to exec-path-from-shell-printf (closes #41)
---
exec-path-from-shell.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 3384897516..4637f716e2 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -149,7 +149,7 @@ shell-escaped, so they may contain $ etc."
(let* ((printf-bin (or (executable-find "printf") "printf"))
(printf-command
(concat printf-bin
- " '__RESULT\\000" str "' "
+ " '__RESULT\\000" str "\\000__RESULT' "
(mapconcat #'exec-path-from-shell--double-quote args " ")))
(shell (exec-path-from-shell--shell))
(shell-args (append exec-path-from-shell-arguments
@@ -165,7 +165,7 @@ shell-escaped, so they may contain $ etc."
(error "Non-zero exit code from shell %s invoked with args %S.
Output was:\n%S"
shell shell-args (buffer-string))))
(goto-char (point-min))
- (if (re-search-forward "__RESULT\0\\(.*\\)" nil t)
+ (if (re-search-forward "__RESULT\0\\(.*\\)\0__RESULT" nil t)
(match-string 1)
(error "Expected printf output from shell, but got: %S"
(buffer-string))))))
- [nongnu] elpa/exec-path-from-shell 247683134a 035/114: Include shell output in debug messages, (continued)
- [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, 2023/09/05
- [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 <=
- [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
- [nongnu] elpa/exec-path-from-shell d8aa7765a1 084/114: Merge pull request #82 from mernst/installation-instructions, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 53ca76b97f 089/114: Link to flowbok article about shell startup files, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 3cfedb8791 088/114: Merge pull request #90 from lassik/error-if-remote, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 2d152d1781 095/114: Clarify what the sample usage snippet does, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ad68d36747 102/114: Instead of checking startup files, just warn if execution is slow, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 6336db9be1 111/114: Add Emacs 28.1 to CI matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 03fc0a38af 114/114: Release 2.1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d17c4e0b73 094/114: Notes about increasing speed, ELPA Syncer, 2023/09/05