Fix ajoke--beginning-of-defun-function.

The old version is just unusable.

Signed-off-by: Bao Haojun <baohaojun@gmail.com>