1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 14:27:59 +01:00
'tag' command works once more
  'source ~/' shows the matches
  fdopen checks whether the file exists, and throws a more-readable error if it doesn't
  'help' work if the current document is a XULDocument (it shows the help in a new tab)
This commit is contained in:
Viktor Kojouharov
2007-04-28 09:52:29 +00:00
parent 4cc50bf40e
commit bfcf598bf2
4 changed files with 9 additions and 3 deletions

View File

@@ -356,7 +356,7 @@ var g_commands = [/*{{{*/
["tab"],
["tab {cmd}"],
"Execute {cmd} and tell it to output in a new tab",
"Works for only commands that support it.",
"Works for only commands that support it.<br/>" +
"Example: <code class=command>:tab help tab</code> opens the help in a new tab.",
tab,
null
@@ -1914,9 +1914,11 @@ function set(args, special)
function source(filename, silent)
{
if (!filename) return;
try
{
var fd = fopen(filename, "<");
if (!fd) return;
var s = fd.read();
fd.close();