Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git.el: Fix typo in git-update-saved-file error handling.
author
Alexandre Julliard
<julliard@winehq.org>
Sun, 28 Oct 2007 10:05:45 +0000
(11:05 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 28 Oct 2007 21:08:28 +0000
(14:08 -0700)
Spotted by Matthieu Lemerre.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/emacs/git.el
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
3697c5f
)
diff --git
a/contrib/emacs/git.el
b/contrib/emacs/git.el
index 8cfbdd7be453f2a6a95028825b4a21184487f2fc..0e5091c1b7e2e7401e8c23edc16c3c4285b43578 100644
(file)
--- a/
contrib/emacs/git.el
+++ b/
contrib/emacs/git.el
@@
-1353,7
+1353,7
@@
Commands:
"Update the corresponding git-status buffer when a file is saved.
Meant to be used in `after-save-hook'."
(let* ((file (expand-file-name buffer-file-name))
- (dir (condition-case nil (git-get-top-dir (file-name-directory file))))
+ (dir (condition-case nil (git-get-top-dir (file-name-directory file))
(error nil)
))
(buffer (and dir (git-find-status-buffer dir))))
(when buffer
(with-current-buffer buffer