[RFC] fix #1027: :wundo segfault in new, non-empty buffer

this was removed in edbb687b73877d8db8b1c6e376e3422bb85a11a9