[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 3975eb4 2/2: pdb doc clarification
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 3975eb4 2/2: pdb doc clarification |
Date: |
Fri, 2 Aug 2019 08:47:13 -0400 (EDT) |
branch: master
commit 3975eb46150a6c896319b350112c036c678cfc38
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
pdb doc clarification
* lisp/progmodes/gud.el (pdb): Clarify what the parameters mean
(bug#20106).
---
lisp/progmodes/gud.el | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 6b152b7..b6a4ad3 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -1681,9 +1681,15 @@ This should be an executable on your path, or an
absolute file name."
;;;###autoload
(defun pdb (command-line)
- "Run pdb on program FILE in buffer `*gud-FILE*'.
-The directory containing FILE becomes the initial working directory
-and source-file directory for your debugger."
+ "Run COMMAND-LINE in the `*gud-FILE*' buffer.
+
+COMMAND-LINE should include the pdb executable
+name (`gud-pdb-command-name') and the file to be debugged.
+
+If called interactively, the command line will be prompted for.
+
+The directory containing this file becomes the initial working
+directory and source-file directory for your debugger."
(interactive
(list (gud-query-cmdline 'pdb)))