From: Lars Ingebrigtsen Date: Sat, 21 Aug 2021 14:28:51 +0000 (+0200) Subject: Fix perldb doc string X-Git-Tag: emacs-28.0.90~1378 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=690d1bcc619d774c8afbdb01017603ffe0c6bf2b;p=emacs.git Fix perldb doc string * lisp/progmodes/gud.el (perldb): Fix doc string (bug#14588). --- 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") " "))))