-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 01.05.2010 01:04, perry wrote:
> +--- Add a tag
> +-- @param name The tag name, a string
> +-- @param properties The tags properties, a table
> +-- @return The created tag
> +function add(name, properties)
> +    local newtag = unpack(new({name},
> +                        properties.screen or 1,
> +                        properties.layout or nil))

No major comments here, but I had to look up what untag does.
If you don't object it too much (really, just a minor comment), what do you
think about doing this instead:

local newtags = new({ name }, ......)
local newtag = newtags[1]

Uli
- -- 
- - Buck, when, exactly, did you lose your mind?
- - Three months ago. I woke up one morning married to a pineapple.
  An ugly pineapple... But I loved her!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJL29EUAAoJECLkKOvLj8sG8hUH/Aovv79kWW3JQvUETg+BzdRv
Go6htN1wzf5uxtekN0wDHZAKqUt4r+EeMnSHnd7EtRRjtCvtiNonkSYA8N9QjCUr
qzCzBDiOXu3Gf58oSsDvXaS+W/aOIX1oKavDTxTBmP6+sfl/b471Q9C/UEYPCxjb
VvVUTi4oGoqdSubwoNFPi0ccpwLUeNQTx2c5Apl4RtFAwPOCvMhOtO8KZ1jtuLz6
bGbROvKzoj8SD3Pxq8pvgPBgYAeIKu2tvcvkQ4FT9UBgGPHOBshcddmRkZnVndDg
h26rUtrd0djdhWJTgtes+5US4Kfwiqxku8x6ujSdpI0FAVhnEClJa+riFz/jTf0=
=+PZB
-----END PGP SIGNATURE-----

-- 
To unsubscribe, send mail to [email protected].

Reply via email to