Given the executable name is "emacs", now this executable will be auto located as per the PATH environment variable.
This commit is contained in:
parent
390462e36d
commit
13633b081b
|
@ -60,7 +60,7 @@ or `spacemacs'.")
|
||||||
to compile Emacs 27 from source following the instructions in file
|
to compile Emacs 27 from source following the instructions in file
|
||||||
EXPERIMENTAL.org at to root of the git repository.")
|
EXPERIMENTAL.org at to root of the git repository.")
|
||||||
|
|
||||||
(defvar dotspacemacs-emacs-pdumper-executable-file "emacs"
|
(defvar dotspacemacs-emacs-pdumper-executable-file "emacs-27.0.50"
|
||||||
"File path pointing to emacs 27.1 executable compiled with support for the
|
"File path pointing to emacs 27.1 executable compiled with support for the
|
||||||
portable dumper (this is currently the branch pdumper.")
|
portable dumper (this is currently the branch pdumper.")
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,9 @@ You should not used this function, it is reserved for some specific process."
|
||||||
(defun spacemacs/emacs-with-pdumper-set-p ()
|
(defun spacemacs/emacs-with-pdumper-set-p ()
|
||||||
"Return non-nil if a portable dumper capable emacs executable is set."
|
"Return non-nil if a portable dumper capable emacs executable is set."
|
||||||
(and dotspacemacs-enable-emacs-pdumper
|
(and dotspacemacs-enable-emacs-pdumper
|
||||||
(file-exists-p dotspacemacs-emacs-pdumper-executable-file)))
|
(file-exists-p
|
||||||
|
(locate-file dotspacemacs-emacs-pdumper-executable-file
|
||||||
|
exec-path exec-suffixes 'file-executable-p))))
|
||||||
|
|
||||||
(defun spacemacs/dump-emacs ()
|
(defun spacemacs/dump-emacs ()
|
||||||
"Dump emacs in a subprocess."
|
"Dump emacs in a subprocess."
|
||||||
|
|
Loading…
Reference in New Issue