branch: master commit 3551ab20b46d0cb460c2a4d0c5c2f1c0e107a840 Author: rocky <ro...@gnu.org> Commit: rocky <ro...@gnu.org>
Ignore process send errors --- realgud/common/send.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/realgud/common/send.el b/realgud/common/send.el index c068c4f..b8b1f7e 100644 --- a/realgud/common/send.el +++ b/realgud/common/send.el @@ -1,4 +1,4 @@ -;; Copyright (C) 2015 Free Software Foundation, Inc +;; Copyright (C) 2015, 2016 Free Software Foundation, Inc ;; Author: Rocky Bernstein <ro...@gnu.org> @@ -31,11 +31,12 @@ "Sends command buffer line either to comint or eshell" (interactive) (let ((mode (realgud:canonic-major-mode))) - (cond ((eq mode 'eshell) - (eshell-send-input)) - ((eq mode 'comint) - (comint-send-input)) - ))) + (ignore-errors + (cond ((eq mode 'eshell) + (eshell-send-input)) + ((eq mode 'comint) + (comint-send-input)) + )))) (defun realgud:send-command-common (process command-str) "Assume we are in a comint buffer. Insert COMMAND-STR and