Fix 'doom run' not (re)executing startup hooks
Makes leader keys (among other things) unable to function.
This commit is contained in:
parent
de78d0cc62
commit
98d7b97d33
1 changed files with 1 additions and 1 deletions
2
bin/doom
2
bin/doom
|
@ -5,7 +5,7 @@
|
||||||
:; case "$VERSION" in *\ 2[0-5].[0-9]) echo "Detected Emacs $VERSION"; echo "Doom only supports Emacs 26.1 and newer"; echo; exit 2 ;; esac
|
:; case "$VERSION" in *\ 2[0-5].[0-9]) echo "Detected Emacs $VERSION"; echo "Doom only supports Emacs 26.1 and newer"; echo; exit 2 ;; esac
|
||||||
:; DOOMBASE="$(dirname "$0")/.."
|
:; DOOMBASE="$(dirname "$0")/.."
|
||||||
:; [ "$1" = -d ] || [ "$1" = --debug ] && { shift; export DEBUG=1; }
|
:; [ "$1" = -d ] || [ "$1" = --debug ] && { shift; export DEBUG=1; }
|
||||||
:; [ "$1" = run ] && { cd "$DOOMBASE"; shift; exec $EMACS -q --no-splash -l init.el "$@"; exit 0; }
|
:; [ "$1" = run ] && { cd "$DOOMBASE"; shift; exec $EMACS -q --no-splash -l init.el -f doom-run-all-startup-hooks-h "$@"; exit 0; }
|
||||||
:; exec $EMACS --no-site-file --script "$0" -- "$@"
|
:; exec $EMACS --no-site-file --script "$0" -- "$@"
|
||||||
:; exit 0
|
:; exit 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue