mapping or cmdheight bug?

Linux Mint 17 Cinnamon
gvim and vim 7.4.52 (installed via apt-get)
vim 7.4.443 (compiled from source)

MacOS 10.4.11
vim 7.4.442 (compiled from source)

Is this a vim bug or a problem with my mapping?

Create this mapping:
nmap ,l :ls!<cr>:b

If I set:
set cmdheight=2 (or 1)
and use the above mapping all files are listed followed by :b

If I set:
set cmdheight=3 (or any value >= 3)
only the :b is displayed.

If I issue the command `:ls!` the files are listed for any value of cmdheight.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui