check for the existence of "b:pad_modified" before using it, to prevent vim throwing errors.