summaryrefslogtreecommitdiff
path: root/lisp/gud.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-11-30 21:44:25 +0000
committerKarl Heuer <kwzh@gnu.org>1994-11-30 21:44:25 +0000
commitdebb872453cd5374822ae2f1c6cf6c8b3decf989 (patch)
treed88a568ae702f65b0af6547fbcb1865fb57e615a /lisp/gud.el
parent52e590994b18d833ae01ede5040130586631adca (diff)
downloademacs-debb872453cd5374822ae2f1c6cf6c8b3decf989.tar.gz
(gud-basic-call): Detect error earlier.
Diffstat (limited to 'lisp/gud.el')
-rw-r--r--lisp/gud.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index 8decc5e54bc..917a0f9ac9f 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -1213,7 +1213,7 @@ Obeying it means displaying in another window the specified file and line."
(gud-set-buffer)
(let ((command (concat command "\n"))
(proc (get-buffer-process gud-comint-buffer)))
-
+ (or proc (error "Current buffer has no process"))
;; Arrange for the current prompt to get deleted.
(save-excursion
(set-buffer gud-comint-buffer)