* vc-hooks.el (vc-file-clearprops): Check, that FILE is a string.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
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
|
||||
@@ -9,7 +13,7 @@
|
||||
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>
|
||||
|
||||
|
||||
@@ -238,7 +238,10 @@ VC commands are globally reachable under the prefix `\\[vc-prefix-map]':
|
||||
|
||||
(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)))
|
||||
|
||||
|
||||
;; We keep properties on each symbol naming a backend as follows:
|
||||
|
||||
Reference in New Issue
Block a user