diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-21 16:28:51 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-08-21 16:28:51 +0200 |
commit | 690d1bcc619d774c8afbdb01017603ffe0c6bf2b (patch) | |
tree | 5ed033f987c4444372d76887d62cbc88489b4f31 /lisp | |
parent | 7ee5d36008b99358748630631a7525c44d3ee147 (diff) | |
download | emacs-690d1bcc619d774c8afbdb01017603ffe0c6bf2b.tar.gz emacs-690d1bcc619d774c8afbdb01017603ffe0c6bf2b.tar.bz2 emacs-690d1bcc619d774c8afbdb01017603ffe0c6bf2b.zip |
Fix perldb doc string
* lisp/progmodes/gud.el (perldb): Fix doc string (bug#14588).
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/gud.el | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 08814ebcaaa..021c5a314c9 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -1679,9 +1679,14 @@ into one that invokes an Emacs-enabled debugging session. ;;;###autoload (defun perldb (command-line) - "Run perldb on program FILE in buffer *gud-FILE*. -The directory containing FILE becomes the initial working directory -and source-file directory for your debugger." + "Debug a perl program with gud. +Interactively, this will prompt you for a command line. + +Noninteractively, COMMAND-LINE should be on the form +\"perl -d perl-file.pl\". + +The directory containing the perl program becomes the initial +working directory and source-file directory for your debugger." (interactive (list (gud-query-cmdline 'perldb (concat (or (buffer-file-name) "-e 0") " ")))) |