News for hackers. Stuff that matters.
Re:Emacs Rocks by dustym on Sunday November 16, 2014 @02:12PM (#8615082)
Here's some elisp I use to do this (assuming I understand your issue correctly and it's the same as mine):

  (defun replace-regexp-g ()
    (interactive)
    (save-excursion
      (goto-char 0)
      (call-interactively 'replace-regexp)))

There are no comments on this comment yet.