(vc-lookup-triple): Yield nil, not "", if NAME is nil.
Otherwise vc-revert-buffer fails with SCCS.
This commit is contained in:
parent
4f2eb61d72
commit
47ca02a62c
1 changed files with 1 additions and 1 deletions
|
@ -1038,7 +1038,7 @@ on a buffer attached to the file named in the current Dired buffer line."
|
|||
(defun vc-lookup-triple (file name)
|
||||
;; Return the numeric version corresponding to a named snapshot of file
|
||||
;; If name is nil or a version number string it's just passed through
|
||||
(cond ((null name) "")
|
||||
(cond ((null name) name)
|
||||
((let ((firstchar (aref name 0)))
|
||||
(and (>= firstchar ?0) (<= firstchar ?9)))
|
||||
name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue