[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/net/ange-ftp.el, v [EMACS_22_BASE]
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/net/ange-ftp.el, v [EMACS_22_BASE] |
Date: |
Mon, 06 Aug 2007 06:57:32 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Michael Albinus <albinus> 07/08/06 06:57:31
Index: net/ange-ftp.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/net/ange-ftp.el,v
retrieving revision 1.84.2.1
retrieving revision 1.84.2.2
diff -u -b -r1.84.2.1 -r1.84.2.2
--- net/ange-ftp.el 25 Jul 2007 04:25:44 -0000 1.84.2.1
+++ net/ange-ftp.el 6 Aug 2007 06:57:31 -0000 1.84.2.2
@@ -4274,7 +4274,12 @@
;;;###autoload
(defun ange-ftp-hook-function (operation &rest args)
(let ((fn (get operation 'ange-ftp)))
- (if fn (save-match-data (apply fn args))
+ (if fn
+ ;; Catch also errors in process-filter.
+ (condition-case err
+ (let ((debug-on-error t))
+ (save-match-data (apply fn args)))
+ (error (error (error-message-string err))))
(ange-ftp-run-real-handler operation args))))
;; The following code is commented out because Tramp now deals with
- [Emacs-diffs] Changes to emacs/lisp/net/ange-ftp.el, v [EMACS_22_BASE],
Michael Albinus <=