Hacker News new | past | comments | ask | show | jobs | submit login

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)))



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: