Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
cc72026b
Commit
cc72026b
authored
Jan 06, 2008
by
Stefan Monnier
Browse files
(vc-ensure-vc-buffer): Check liveness of vc-parent-buffer.
parent
effb6952
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/vc.el
lisp/vc.el
+1
-0
No files found.
lisp/ChangeLog
View file @
cc72026b
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.
...
...
lisp/vc.el
View file @
cc72026b
...
...
@@ -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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment