changeset 7910:842db6d87566

(gud-massage-args): Fix error message syntax. (gud-marker-filter, gud-find-file): Likewise. (gud-display-line): Don't use dialog box for questions.
author Richard M. Stallman <rms@gnu.org>
date Wed, 15 Jun 1994 18:05:50 +0000
parents 4d8abd0e1acb
children 185c1f12db67
files lisp/gud.el
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gud.el	Wed Jun 15 07:40:43 1994 +0000
+++ b/lisp/gud.el	Wed Jun 15 18:05:50 1994 +0000
@@ -61,13 +61,13 @@
    gud-overload-alist))
 
 (defun gud-massage-args (file args)
-  (error "GUD not properly entered."))
+  (error "GUD not properly entered"))
 
 (defun gud-marker-filter (str)
-  (error "GUD not properly entered."))
+  (error "GUD not properly entered"))
 
 (defun gud-find-file (f)
-  (error "GUD not properly entered."))
+  (error "GUD not properly entered"))
 
 ;; ======================================================================
 ;; command definition
@@ -1103,7 +1103,8 @@
 ;; to get around the fact that this is called inside a save-excursion.
 
 (defun gud-display-line (true-file line)
-  (let* ((buffer (gud-find-file true-file))
+  (let* ((last-nonmenu-event t)	 ; Prevent use of dialog box for questions.
+	 (buffer (gud-find-file true-file))
 	 (window (display-buffer buffer))
 	 (pos))
 ;;;    (if (equal buffer (current-buffer))