summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsabetts <sabetts>2005-02-06 20:51:37 +0000
committersabetts <sabetts>2005-02-06 20:51:37 +0000
commit42202c1b5d3d037173a25ce3ac76db5f0429eb90 (patch)
tree5ed2156ea1a21793cad0ce1be9408c41cffb4954
parentacead7a785e5fd3ba144937133bd9276b76016d8 (diff)
downloadratpoison-42202c1b5d3d037173a25ce3ac76db5f0429eb90.zip
(cmd_prompt): allow prompt to be run
interactively.
-rw-r--r--ChangeLog5
-rw-r--r--src/actions.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 0eb6294..aa37f8c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-06 Shawn Betts <katia_dilkina@verizon.net>
+
+ * src/actions.c (cmd_prompt): allow prompt to be run
+ interactively.
+
2005-02-04 Shawn Betts <katia_dilkina@verizon.net>
* configure.in: bump version to 1.4.0-CVS.
diff --git a/src/actions.c b/src/actions.c
index 3f99057..5963fbe 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -5029,10 +5029,6 @@ cmd_prompt (int interactive, struct cmdarg **args)
cmdret *ret;
char *query, *output, *prefix;
- /* prompt has no use in interactive mode. So just silently fail. */
- if (interactive)
- return cmdret_new (NULL, RET_FAILURE);
-
if (args[0] == NULL)
output = get_input(MESSAGE_PROMPT_COMMAND, trivial_completions);
else