Merge branch 'maint'

* maint:
  Documentation cherry-pick: Fix cut-and-paste error
  git.el: find the git-status buffer whatever its name is
  git-gui: Paper bag fix info dialog when no files are staged at commit
This commit is contained in:
Junio C Hamano
2008-02-29 21:22:31 -08:00
3 changed files with 3 additions and 3 deletions

View File

@ -1545,7 +1545,7 @@ Commands:
(with-current-buffer buffer
(when (and list-buffers-directory
(string-equal fulldir (expand-file-name list-buffers-directory))
(string-match "\\*git-status\\*$" (buffer-name buffer)))
(eq major-mode 'git-status-mode))
(setq found buffer))))
(setq list (cdr list)))
found))