I have some sample code like this:
(defun some-function ()
(interactive)
(push-mark)
(goto-char (point-min))
; do some stuff
(pop-mark))
Now I'm expecting pop-mark to get me back to the original location. But that doesn't seem to be happening. Any idea on how to do this properly ?