1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 21:37:58 +01:00

remove unnecessary   entities from the output of :pageinfo

This commit is contained in:
Doug Kearns
2007-10-30 03:23:21 +00:00
parent 54b6acb22b
commit 1bef37bff7

View File

@@ -559,7 +559,14 @@ const vimperator = (function() //{{{
catch (e)
{
if (!silent)
vimperator.echoerr(e);
{
if (e.name == "NS_ERROR_FILE_NOT_FOUND")
vimperator.echoerr("E484: Can't open file " + filename);
else if (e.name == "NS_ERROR_FILE_ACCESS_DENIED")
vimperator.echoerr("E485: Can't read file " + filename);
else
vimperator.echoerr(e);
}
}
},
@@ -615,7 +622,7 @@ const vimperator = (function() //{{{
vimperator.globalVariables = {};
// TODO: move elsewhere
vimperator.registerCallback("submit", vimperator.modes.EX, function(command) { vimperator.execute(command); } );
vimperator.registerCallback("submit", vimperator.modes.EX, function(command) { document.getElementById("vimperator-multiline-output").collapsed = true; vimperator.execute(command); } );
vimperator.registerCallback("complete", vimperator.modes.EX, function(str) { return vimperator.completion.exTabCompletion(str); } );
// first time intro message