aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-28 20:37:44 +0000
committerRichard M. Stallman1996-09-28 20:37:44 +0000
commit5dd9db3bbdb22b71459731423b693110756ab28c (patch)
tree5dbff58313cf4ef8ee21da81011f88362f02a02f
parentbcc0d457987745d74dcfbbdb7828a2837e9b8f5b (diff)
downloademacs-5dd9db3bbdb22b71459731423b693110756ab28c.tar.gz
emacs-5dd9db3bbdb22b71459731423b693110756ab28c.zip
(perldb): Supply visited file name, or -e 0, as default args.
-rw-r--r--lisp/gud.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index 1d5f50b2682..eb0a403dabb 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -1007,7 +1007,11 @@ and source-file directory for your debugger."
1007 (list (read-from-minibuffer "Run perldb (like this): " 1007 (list (read-from-minibuffer "Run perldb (like this): "
1008 (if (consp gud-perldb-history) 1008 (if (consp gud-perldb-history)
1009 (car gud-perldb-history) 1009 (car gud-perldb-history)
1010 (concat perldb-command-name " ")) 1010 (concat perldb-command-name
1011 " "
1012 (or (buffer-file-name)
1013 "-e 0"))
1014 " ")
1011 nil nil 1015 nil nil
1012 '(gud-perldb-history . 1)))) 1016 '(gud-perldb-history . 1))))
1013 1017