[Emacs] Set EMACS environment variable explicitly
This commit is contained in:
parent
2d472d8d18
commit
2b48d25a81
@ -255,6 +255,14 @@ Ensure by default since most of the package for which I use use-package need to
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq use-package-always-ensure t)
|
||||
#+END_SRC
|
||||
** Set EMACS environment variable
|
||||
Emacs cask seems to depend on the EMACS environment variable being set to the
|
||||
binary path of emacs. I found the method for getting the path to the emacs
|
||||
executable [[http://emacs.stackexchange.com/questions/6010/can-emacs-detect-the-path-of-its-executable][here]].
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setenv "EMACS"
|
||||
(file-truename (expand-file-name invocation-name invocation-directory)))
|
||||
#+END_SRC
|
||||
* Functions
|
||||
** Join Paths
|
||||
Works in the same way as os.path.join in python
|
||||
|
Loading…
Reference in New Issue
Block a user