aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-08-01 22:37:47 +0000
committerRichard M. Stallman1996-08-01 22:37:47 +0000
commitf5792262456f1ea5eddf6697dd9d014cbca19563 (patch)
tree1770a910e1e000683fbb169a0857139f6cf1c8f5
parent76f63ea09ca4be4e680cb7c4a846cd5c9fd8dbca (diff)
downloademacs-f5792262456f1ea5eddf6697dd9d014cbca19563.tar.gz
emacs-f5792262456f1ea5eddf6697dd9d014cbca19563.zip
(gdb): Undo previous change.
-rw-r--r--lisp/gud.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index 48664a05608..281ceb50573 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -268,13 +268,12 @@ and create such a submap in that new map."
268The directory containing FILE becomes the initial working directory 268The directory containing FILE becomes the initial working directory
269and source-file directory for your debugger." 269and source-file directory for your debugger."
270 (interactive 270 (interactive
271 (list (let ((comint-file-name-regexp "~/A-Za-z0-9+@:_.$#%,={}-")) 271 (list (read-from-minibuffer "Run gdb (like this): "
272 (read-from-minibuffer "Run gdb (like this): " 272 (if (consp gud-gdb-history)
273 (if (consp gud-gdb-history) 273 (car gud-gdb-history)
274 (car gud-gdb-history) 274 "gdb ")
275 "gdb ") 275 gdb-minibuffer-local-map nil
276 gdb-minibuffer-local-map nil 276 '(gud-gdb-history . 1))))
277 '(gud-gdb-history . 1)))))
278 277
279 (gud-common-init command-line 'gud-gdb-massage-args 278 (gud-common-init command-line 'gud-gdb-massage-args
280 'gud-gdb-marker-filter 'gud-gdb-find-file) 279 'gud-gdb-marker-filter 'gud-gdb-find-file)