Skip to content

Instantly share code, notes, and snippets.

@mig
Created February 5, 2009 21:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mig/59011 to your computer and use it in GitHub Desktop.
Save mig/59011 to your computer and use it in GitHub Desktop.
(defun refresh-file ()
(interactive)
(revert-buffer t t t)
)
(global-set-key [f5] 'refresh-file)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment