Mercurial > emacs
changeset 87601:2425b933f90a
(vc-ensure-vc-buffer): Check liveness of vc-parent-buffer.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 06 Jan 2008 16:02:38 +0000 |
parents | 8f58e29f466a |
children | f9428851f929 |
files | lisp/ChangeLog lisp/vc.el |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sun Jan 06 11:49:25 2008 +0000 +++ b/lisp/ChangeLog Sun Jan 06 16:02:38 2008 +0000 @@ -1,3 +1,7 @@ +2008-01-06 Stefan Monnier <monnier@iro.umontreal.ca> + + * vc.el (vc-ensure-vc-buffer): Check liveness of vc-parent-buffer. + 2008-01-06 Dan Nicolaescu <dann@ics.uci.edu> * vc.el (vc-status-fileinfo): New defstruct.
--- a/lisp/vc.el Sun Jan 06 11:49:25 2008 +0000 +++ b/lisp/vc.el Sun Jan 06 16:02:38 2008 +0000 @@ -1310,6 +1310,7 @@ (if vc-dired-mode (set-buffer (find-file-noselect (dired-get-filename))) (while (and vc-parent-buffer + (buffer-live-p vc-parent-buffer) ;; Avoid infinite looping when vc-parent-buffer and ;; current buffer are the same buffer. (not (eq vc-parent-buffer (current-buffer))))