Skip to content

Instantly share code, notes, and snippets.

@apg
Created June 25, 2012 10:49
Show Gist options
  • Save apg/2987911 to your computer and use it in GitHub Desktop.
Save apg/2987911 to your computer and use it in GitHub Desktop.
Whole buffer version of replace-string
(defun replace-string-beg-buffer ()
"Whole buffer version of `replace-string'"
(interactive)
(save-excursion
(beginning-of-buffer)
(call-interactively 'replace-string)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment