浏览代码

Fix 6840 Check emacsclient version instead of emacs's (#6841)

This is much faster.
Lorenzo Bolla 6 年之前
父节点
当前提交
ee96d0cf96
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/emacs/emacs.plugin.zsh

+ 1 - 1
plugins/emacs/emacs.plugin.zsh

@@ -10,7 +10,7 @@
 # - 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" emacsclient 24 2>/dev/null ; then
     export EMACS_PLUGIN_LAUNCHER="$ZSH/plugins/emacs/emacsclient.sh"
 
     # set EDITOR if not already defined.