Commit 8f6c93e2 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(gud-massage-args): Fix error message syntax.

(gud-marker-filter, gud-find-file): Likewise.
(gud-display-line): Don't use dialog box for questions.
parent f9d2d9c0
......@@ -61,13 +61,13 @@ This association list has elements of the form
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 @@ Obeying it means displaying in another window the specified file and line."
;; 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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment