From 716ee80452aa97a49adbe4d11f085b2007265504 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Wed, 10 Sep 2008 23:44:07 +0000 Subject: [PATCH] prepend commandline to MOW output of :autocmd --- content/events.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/events.js b/content/events.js index 208b7b6c..53cc4e00 100644 --- a/content/events.js +++ b/content/events.js @@ -192,7 +192,9 @@ liberator.AutoCommands = function () //{{{ list: function (auEvent, regex) // arguments are filters (NULL = all) { var flag; - var list = ""; + var list = ":" + liberator.util.escapeHTML(liberator.commandline.getCommand()) + "
" + + "
---- Auto-Commands ----
"; + for (var item in autoCommands) { flag = true;
---- Auto-Commands ----