Commit 6ac5571c authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/vc/vc-dir.el (vc-dir-update): Don't burp in corner case.

parent bcbaf6b7
2014-09-05 Stefan Monnier <>
* vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
2014-09-04 Lars Ljung <> (tiny change)
* isearch.el (isearch-yank-word-or-char): Obey superword-mode
......@@ -433,7 +433,8 @@ If NOINSERT, ignore elements on ENTRIES which are not in the ewoc."
;; previous node was in a different directory.
(let* ((rd (file-relative-name entrydir))
(prev-node (ewoc-prev vc-ewoc node))
(prev-dir (vc-dir-node-directory prev-node)))
(prev-dir (if prev-node
(vc-dir-node-directory prev-node))))
(unless (string-equal entrydir prev-dir)
vc-ewoc node (vc-dir-create-fileinfo rd nil nil nil entrydir))))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment