+2008-09-29 Michael Albinus <michael.albinus@gmx.de>
+
+ * vc-hooks.el (vc-file-clearprops): Check, that FILE is a string.
+
2008-09-29 Eli Zaretskii <eliz@gnu.org>
* files.el (locate-dominating-file): Take file-attributes of
also be `localname'.
* net/ange-ftp.el (ange-ftp-file-remote-p): Handle `localname' as
- identification.
+ IDENTIFICATION.
2008-09-28 Glenn Morris <rgm@gnu.org>
(defun vc-file-clearprops (file)
"Clear all VC properties of FILE."
- (setplist (intern file vc-file-prop-obarray) nil))
+ ;; Sometimes, Tramp runs into trouble, FILE is nil then. We shall
+ ;; avoid an error in this case.
+ (when (stringp file)
+ (setplist (intern file vc-file-prop-obarray) nil)))
\f
;; We keep properties on each symbol naming a backend as follows: