" Define the function we'll use. It's easier to do this than to faff about
" trying to run a sequence of normal mode commands.
fun! P4submit()
" Define the function we'll use. It's easier to do this than to faff about
" trying to run a sequence of normal mode commands.
fun! P4submit()
" Delete the spec blurb if it exists.
/^# A Perforce Change Spec/,/^# *(New changelists only\.)$/d
" If the blurb was deleted the text will be in the unnamed register.
" Delete the spec blurb if it exists.
/^# A Perforce Change Spec/,/^# *(New changelists only\.)$/d
" If the blurb was deleted the text will be in the unnamed register.