emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 690d1bc: Fix perldb doc string


From: Lars Ingebrigtsen
Subject: master 690d1bc: Fix perldb doc string
Date: Sat, 21 Aug 2021 10:28:59 -0400 (EDT)

branch: master
commit 690d1bcc619d774c8afbdb01017603ffe0c6bf2b
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    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 08814eb..021c5a3 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") " "))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]