plugins/emacs: depend on emacs 25, not emacs 24

The emacsclient.sh script invokes emacsclient with --alternate-editor
'', which is not supported by Emacs v24.
This commit is contained in:
Andrew Baumann 2017-07-28 10:52:56 -07:00
parent d848c94804
commit f8124e698b

View File

@ -10,7 +10,7 @@
# - Configuration changes made at runtime are applied to all frames. # - Configuration changes made at runtime are applied to all frames.
if "$ZSH/tools/require_tool.sh" emacs 24 2>/dev/null ; then if "$ZSH/tools/require_tool.sh" emacs 25 2>/dev/null ; then
export EMACS_PLUGIN_LAUNCHER="$ZSH/plugins/emacs/emacsclient.sh" export EMACS_PLUGIN_LAUNCHER="$ZSH/plugins/emacs/emacsclient.sh"
# set EDITOR if not already defined. # set EDITOR if not already defined.