emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/exec-path-from-shell 7e7f381884 091/114: Use a better meth


From: ELPA Syncer
Subject: [nongnu] elpa/exec-path-from-shell 7e7f381884 091/114: Use a better method to establish definition of eshell-path-env
Date: Tue, 5 Sep 2023 04:00:05 -0400 (EDT)

branch: elpa/exec-path-from-shell
commit 7e7f38188473ba1fc5325888707de3f9153d76b0
Author: Steve Purcell <steve@sanityinc.com>
Commit: Steve Purcell <steve@sanityinc.com>

    Use a better method to establish definition of eshell-path-env
    
    The previous stub declaration (reasonably) upsets package-lint.
---
 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 0e1879989f..7149d2e776 100644
--- a/exec-path-from-shell.el
+++ b/exec-path-from-shell.el
@@ -73,7 +73,7 @@
 ;;; Code:
 
 ;; Satisfy the byte compiler
-(defvar eshell-path-env)
+(eval-when-compile (require 'eshell))
 
 (defgroup exec-path-from-shell nil
   "Make Emacs use shell-defined values for $PATH etc."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]