purcell / exec-path-from-shell

Make Emacs use the $PATH set up by the user's shell
Other
1.41k stars 81 forks source link

Improve for eshell #32

Closed syohex closed 8 years ago

syohex commented 8 years ago

Use 'custom-set-variables' instead of 'setq' because eshell-path-env might not be defined yet.

purcell commented 8 years ago

Won't it have the same effect, though? If you setq a var and then later defvar or defcustom that same var, doesn't the original value get used?

syohex commented 8 years ago

Won't it have the same effect, though? If you setq a var and then later defvar or defcustom that same var, doesn't the original value get used?

Ah, I didn't consider about this.

purcell commented 8 years ago

:+1: