mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-19 18:13:55 +00:00
(vc-ensure-vc-buffer): Check liveness of vc-parent-buffer.
This commit is contained in:
parent
effb695274
commit
cc72026bca
@ -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.
|
||||
|
@ -1310,6 +1310,7 @@ Otherwise, throw an error."
|
||||
(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))))
|
||||
|
Loading…
Reference in New Issue
Block a user