* lisp/vc/vc-hooks.el (vc-registered): Don't check whether
`file-name-handler-alist' is bound, the check is superfluous.
((and (file-name-directory file)
(string-match vc-ignore-dir-regexp (file-name-directory file)))
nil)
- ((and (boundp 'file-name-handler-alist)
- (setq handler (find-file-name-handler file 'vc-registered)))
+ ((setq handler (find-file-name-handler file 'vc-registered))
;; handler should set vc-backend and return t if registered
(funcall handler 'vc-registered file))
(t