From 690d1bcc619d774c8afbdb01017603ffe0c6bf2b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 21 Aug 2021 16:28:51 +0200 Subject: [PATCH] Fix perldb doc string * lisp/progmodes/gud.el (perldb): Fix doc string (bug#14588). --- lisp/progmodes/gud.el | 11 ++++++++--- 1 file 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") " ")))) -- 2.39.5