aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-07-22 19:06:26 +0000
committerRichard M. Stallman1996-07-22 19:06:26 +0000
commit9ab5d005aa7b6dde7a6d01792aedbe0458e6b6d4 (patch)
tree14d571f2939ce86657006954b3ed6edb12f1a51c
parent0ccb277a5e7d41156fc159b77b2456ee7450000a (diff)
downloademacs-9ab5d005aa7b6dde7a6d01792aedbe0458e6b6d4.tar.gz
emacs-9ab5d005aa7b6dde7a6d01792aedbe0458e6b6d4.zip
(perldb-command-name): New variable.
(perldb): Use it.
-rw-r--r--lisp/gud.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index 6c5c1abcdf6..cbbd4aeb2d9 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -989,6 +989,9 @@ directories if your program contains sources from more than one directory."
989 (gud-make-debug-menu) 989 (gud-make-debug-menu)
990 buf))) 990 buf)))
991 991
992(defvar perldb-command-name "perl"
993 "File name for executing Perl.")
994
992;;;###autoload 995;;;###autoload
993(defun perldb (command-line) 996(defun perldb (command-line)
994 "Run perldb on program FILE in buffer *gud-FILE*. 997 "Run perldb on program FILE in buffer *gud-FILE*.
@@ -998,7 +1001,7 @@ and source-file directory for your debugger."
998 (list (read-from-minibuffer "Run perldb (like this): " 1001 (list (read-from-minibuffer "Run perldb (like this): "
999 (if (consp gud-perldb-history) 1002 (if (consp gud-perldb-history)
1000 (car gud-perldb-history) 1003 (car gud-perldb-history)
1001 "perl ") 1004 (concat perldb-command-name " "))
1002 nil nil 1005 nil nil
1003 '(gud-perldb-history . 1)))) 1006 '(gud-perldb-history . 1))))
1004 1007