6f1929f822d24c6cfc9cecf574cb21c6b3817bb5

Author
Tristan Carel <tcarel@exalead.com>
Committer
Tristan Carel <tcarel@exalead.com>
Date

Message

Fix indentation

Diff

 1diff --git a/plugins/emacs/emacs.plugin.zsh b/plugins/emacs/emacs.plugin.zsh
 2index fc6b8865ee9381134654d294773cdc6f98c5c12d..3e45e54d0d653554aa1591d43e1d8a284718c1bb 100644
 3--- a/plugins/emacs/emacs.plugin.zsh
 4+++ b/plugins/emacs/emacs.plugin.zsh
 5@@ -27,8 +27,7 @@ if "$ZSH/tools/require_tool.sh" emacs 23 2>/dev/null ; then
 6     # jump to the directory of the current buffer
 7     function ecd {
 8         local cmd="(let ((buf-name (buffer-file-name (window-buffer))))
 9-               (if buf-name
10-                 (file-name-directory buf-name)))"
11+                     (if buf-name (file-name-directory buf-name)))"
12 
13         local dir=`$EDITOR --eval "$cmd" | tr -d \"`
14         if [ -n "$dir" ] ;then