From: Eli Zaretskii Date: Fri, 31 Jan 2020 09:41:14 +0000 (+0200) Subject: ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix commentary. X-Git-Tag: emacs-27.0.90~82 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c362a624d8;p=emacs.git ; * lisp/progmodes/gdb-mi.el (gdb-handle-reply): Fix commentary. --- 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))))