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

:echo without arg should output an empty string instead of undefined

This commit is contained in:
Martin Stubenschrott
2007-09-27 18:57:48 +00:00
parent 7c73c5d663
commit 39ca50905c

View File

@@ -486,6 +486,9 @@ function Commands() //{{{
function argToString(arg, color)
{
if (!arg)
return "";
try
{
// TODO: move to vimperator.eval()?