From c362a624d81410bb487e1ea9e2a3a1f18064a485 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 31 Jan 2020 11:41:14 +0200 Subject: [PATCH] ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix commentary. --- lisp/progmodes/gdb-mi.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 4b0fd66c7ed..e785acd2840 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -324,8 +324,8 @@ in `gdb-handler-list' and clears all pending handlers invalidated by the reception of this reply." (let ((handler-function (gdb-get-handler-function token-number))) (when handler-function + ;; Protect against errors in handler-function. (condition-case err - ;; protect against errors in handler-function (funcall handler-function) (error (message (error-message-string err)))) (gdb-delete-handler token-number)))) -- 2.39.2