Clean up.
Fixed a problem of c-beginning/end-of-defun that do not save current position of cursor unlike beginning-of-defun.