[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 3551ab2 1/6: Ignore process send errors
From: |
Rocky Bernstein |
Subject: |
[elpa] master 3551ab2 1/6: Ignore process send errors |
Date: |
Thu, 4 Aug 2016 13:50:18 +0000 (UTC) |
branch: master
commit 3551ab20b46d0cb460c2a4d0c5c2f1c0e107a840
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
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 <address@hidden>
@@ -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
- [elpa] master updated (c2b86af -> 56bf176), Rocky Bernstein, 2016/08/04
- [elpa] master 3551ab2 1/6: Ignore process send errors,
Rocky Bernstein <=
- [elpa] master 3bef00c 2/6: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2016/08/04
- [elpa] master 0387891 3/6: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2016/08/04
- [elpa] master 6a41dc7 4/6: Add starting directory in info and..., Rocky Bernstein, 2016/08/04
- [elpa] master db34a79 5/6: (require 'files) is unnecessary - preloaded, Rocky Bernstein, 2016/08/04
- [elpa] master 56bf176 6/6: Merge commit 'db34a79efd068f28643cefd6f16a7329ba24dbf1', Rocky Bernstein, 2016/08/04