Browse files

Fixed a bug in checking if a dir should be version checked...

  • Loading branch information...
1 parent 4a23114 commit 7dbc0e84db9dc86329c2e870ffbbf6416815ac92 berndl committed Jun 17, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 ecb-file-browser.el
View
4 ecb-file-browser.el
@@ -29,6 +29,7 @@
;; This file contains the code of the file-browser of ECB
+
(require 'ecb-util)
(require 'tree-buffer)
(require 'ecb-mode-line)
@@ -1178,7 +1179,8 @@ sources will not be checked - This option takes only effect if
"Return not nil if the sources of DIR should be checked for VC-state.
The check is performed according to the settings in the options
`ecb-vc-enable-support' and `ecb-vc-directory-should-be-checked-p'."
- (and ecb-vc-needed-vc-package-available-p
+ (and dir
+ ecb-vc-needed-vc-package-available-p
(or (equal t ecb-vc-enable-support)
(and (equal 'unless-remote ecb-vc-enable-support)
(not (ecb-remote-path dir))))

0 comments on commit 7dbc0e8

Please sign in to comment.