branch: elpa/exec-path-from-shell
commit 7e7f38188473ba1fc5325888707de3f9153d76b0
Author: Steve Purcell <[email protected]>
Commit: Steve Purcell <[email protected]>

    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