diff options
author | Tristan Carel <tcarel@exalead.com> | 2011-04-15 18:22:27 +0200 |
---|---|---|
committer | Tristan Carel <tcarel@exalead.com> | 2011-04-15 18:22:27 +0200 |
commit | 6f1929f822d24c6cfc9cecf574cb21c6b3817bb5 (patch) | |
tree | 325c0f5ea210f4bc5845a66a647b070e9ba5148b | |
parent | 9b29136ec65953004f064ec4a834ae7b1f2949e7 (diff) | |
download | zsh-6f1929f822d24c6cfc9cecf574cb21c6b3817bb5.tar.gz zsh-6f1929f822d24c6cfc9cecf574cb21c6b3817bb5.tar.bz2 zsh-6f1929f822d24c6cfc9cecf574cb21c6b3817bb5.zip |
Fix indentation
-rw-r--r-- | plugins/emacs/emacs.plugin.zsh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/emacs/emacs.plugin.zsh b/plugins/emacs/emacs.plugin.zsh index fc6b8865e..3e45e54d0 100644 --- a/plugins/emacs/emacs.plugin.zsh +++ b/plugins/emacs/emacs.plugin.zsh @@ -27,8 +27,7 @@ if "$ZSH/tools/require_tool.sh" emacs 23 2>/dev/null ; then # jump to the directory of the current buffer function ecd { local cmd="(let ((buf-name (buffer-file-name (window-buffer)))) - (if buf-name - (file-name-directory buf-name)))" + (if buf-name (file-name-directory buf-name)))" local dir=`$EDITOR --eval "$cmd" | tr -d \"` if [ -n "$dir" ] ;then |