* net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 14 Jul 2013 18:45:50 +0000 (20:45 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 14 Jul 2013 18:45:50 +0000 (20:45 +0200)
lisp/ChangeLog
lisp/net/tramp-sh.el

index 5451abc..25d666f 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
+
 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
 
        * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
index 281f497..c92eacd 100644 (file)
@@ -3334,7 +3334,8 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file."
        ;; `process-file-side-effects' in order to keep the cache when
        ;; `process-file' calls appear.
        (let (process-file-side-effects)
-         (tramp-run-real-handler 'vc-registered (list file)))))))
+         (ignore-errors
+           (tramp-run-real-handler 'vc-registered (list file))))))))
 
 ;;;###tramp-autoload
 (defun tramp-sh-file-name-handler (operation &rest args)