[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 4ea306a76f 103/114: Prefer cl-gensym
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 4ea306a76f 103/114: Prefer cl-gensym to gensym for better compatibility across emacs versions |
Date: |
Tue, 5 Sep 2023 04:00:08 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 4ea306a76f0f8371053dd12d77a3b5b4438974d3
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>
Prefer cl-gensym to gensym for better compatibility across emacs versions
---
exec-path-from-shell.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/exec-path-from-shell.el b/exec-path-from-shell.el
index 87a9e88f69..e0e381f42e 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -6,7 +6,7 @@
;; Keywords: unix, environment
;; URL: https://github.com/purcell/exec-path-from-shell
;; Package-Version: 0
-;; Package-Requires: ((emacs "24.1"))
+;; Package-Requires: ((emacs "24.1") (cl-lib "0.6"))
;; This file is not part of GNU Emacs.
@@ -75,6 +75,7 @@
;; Satisfy the byte compiler
(eval-when-compile (require 'eshell))
+(require 'cl-lib)
(defgroup exec-path-from-shell nil
"Make Emacs use shell-defined values for $PATH etc."
@@ -141,8 +142,8 @@ The default value denotes an interactive login shell."
(defmacro exec-path-from-shell--warn-duration (&rest body)
"Evaluate BODY and warn if execution duration exceeds a time limit.
The limit is given by `exec-path-from-shell-warn-duration-millis'."
- (let ((start-time (gensym))
- (duration-millis (gensym)))
+ (let ((start-time (cl-gensym))
+ (duration-millis (cl-gensym)))
`(let ((,start-time (current-time)))
(prog1
(progn ,@body)
- [nongnu] elpa/exec-path-from-shell c2ca275d32 061/114: Clarify incompatibility with cmdproxy.exe et al, (continued)
- [nongnu] elpa/exec-path-from-shell c2ca275d32 061/114: Clarify incompatibility with cmdproxy.exe et al, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9700a076a9 065/114: Merge pull request #45 from jlandahl/master, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 15d07666fb 074/114: Merge pull request #65 from belak/also-run-on-linux, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell fedb500652 073/114: Fix "Emacssenvironment" typo, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9def990ba4 069/114: Allow shell to be set explicitly, and change default resolution rules, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5c44eabbb0 080/114: Declare a variable for the byte compiler, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 54ea2f9c3c 082/114: Make clear that bash and zsh are particularly supported, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 7e7f381884 091/114: Use a better method to establish definition of eshell-path-env, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 1a43e8aea5 090/114: Add simple CI with Actions, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9365c94ef1 096/114: Clarify point in README, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4ea306a76f 103/114: Prefer cl-gensym to gensym for better compatibility across emacs versions,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell e5647b9109 099/114: Add Emacs 27.1 to CI, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d8824a3a4e 104/114: Set each instance of the buffer local variable eshell-path-env, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell d14d6d2966 106/114: Merge pull request #101 from mnewt/eshell-path-env-in-buffers, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell bf4bdc8b89 107/114: Add Emacs 27.2 to CI matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 0a07f5489c 109/114: Merge pull request #105 from brandelune/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell dff9ce3577 112/114: Detect "nu" as a non-standard shell, see #109, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 869bc7ac48 050/114: Merge pull request #28 from emacs18/patch-1, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 30c793b388 054/114: Preserve "" env var values: don't map them to nil, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell eb4dda127e 056/114: Show which env vars are being set in the wrong startup files, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell c6eedaf916 071/114: Merge pull request #62 from Fuco1/patch-1, ELPA Syncer, 2023/09/05