From f6dd8b3647e7c0d32fc142a77cc6ad4c18deb916 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 14 Jul 2013 20:45:50 +0200 Subject: [PATCH] * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'. --- lisp/ChangeLog | 4 ++++ lisp/net/tramp-sh.el | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5451abc2119..25d666f8f40 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-07-14 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'. + 2013-07-13 Dmitry Gutov * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 281f497692d..c92eacd4473 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -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) -- 2.39.2