aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-06-15 18:05:50 +0000
committerRichard M. Stallman1994-06-15 18:05:50 +0000
commit8f6c93e2bb3236358f842fb6befca5bf25b9b430 (patch)
tree45eecd3347b8a03a8bf7a57465a74706f9ef668b
parentf9d2d9c0c82c027b08e1196998da178614855084 (diff)
downloademacs-8f6c93e2bb3236358f842fb6befca5bf25b9b430.tar.gz
emacs-8f6c93e2bb3236358f842fb6befca5bf25b9b430.zip
(gud-massage-args): Fix error message syntax.
(gud-marker-filter, gud-find-file): Likewise. (gud-display-line): Don't use dialog box for questions.
-rw-r--r--lisp/gud.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index 4655dd37eac..6ccd0d15c1f 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -61,13 +61,13 @@ This association list has elements of the form
61 gud-overload-alist)) 61 gud-overload-alist))
62 62
63(defun gud-massage-args (file args) 63(defun gud-massage-args (file args)
64 (error "GUD not properly entered.")) 64 (error "GUD not properly entered"))
65 65
66(defun gud-marker-filter (str) 66(defun gud-marker-filter (str)
67 (error "GUD not properly entered.")) 67 (error "GUD not properly entered"))
68 68
69(defun gud-find-file (f) 69(defun gud-find-file (f)
70 (error "GUD not properly entered.")) 70 (error "GUD not properly entered"))
71 71
72;; ====================================================================== 72;; ======================================================================
73;; command definition 73;; command definition
@@ -1103,7 +1103,8 @@ Obeying it means displaying in another window the specified file and line."
1103;; to get around the fact that this is called inside a save-excursion. 1103;; to get around the fact that this is called inside a save-excursion.
1104 1104
1105(defun gud-display-line (true-file line) 1105(defun gud-display-line (true-file line)
1106 (let* ((buffer (gud-find-file true-file)) 1106 (let* ((last-nonmenu-event t) ; Prevent use of dialog box for questions.
1107 (buffer (gud-find-file true-file))
1107 (window (display-buffer buffer)) 1108 (window (display-buffer buffer))
1108 (pos)) 1109 (pos))
1109;;; (if (equal buffer (current-buffer)) 1110;;; (if (equal buffer (current-buffer))