diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-07-31 16:35:11 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-07-31 16:35:11 +0000 |
commit | 0db7d593ef25e945c2032f75600cf88ba5016043 (patch) | |
tree | d03a41d399299bfbe150ac1003985accb78cf361 /lisp/gud.el | |
parent | a3f6202cfd2624f5cf38d381a4f893f8fd556c09 (diff) | |
download | emacs-0db7d593ef25e945c2032f75600cf88ba5016043.tar.gz |
(gdb): Bind comint-file-name-regexp.
Diffstat (limited to 'lisp/gud.el')
-rw-r--r-- | lisp/gud.el | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lisp/gud.el b/lisp/gud.el index 281ceb50573..48664a05608 100644 --- a/lisp/gud.el +++ b/lisp/gud.el @@ -268,12 +268,13 @@ and create such a submap in that new map." The directory containing FILE becomes the initial working directory and source-file directory for your debugger." (interactive - (list (read-from-minibuffer "Run gdb (like this): " - (if (consp gud-gdb-history) - (car gud-gdb-history) - "gdb ") - gdb-minibuffer-local-map nil - '(gud-gdb-history . 1)))) + (list (let ((comint-file-name-regexp "~/A-Za-z0-9+@:_.$#%,={}-")) + (read-from-minibuffer "Run gdb (like this): " + (if (consp gud-gdb-history) + (car gud-gdb-history) + "gdb ") + gdb-minibuffer-local-map nil + '(gud-gdb-history . 1))))) (gud-common-init command-line 'gud-gdb-massage-args 'gud-gdb-marker-filter 'gud-gdb-find-file) |