This should not be used from lisp programs. Use the replacement suggested by the doc: (goto-char (point-min))