Skip to content

Instantly share code, notes, and snippets.

@Wilfred
Created November 3, 2016 01:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wilfred/24fdc0bb196383b14e68dfd50125283e to your computer and use it in GitHub Desktop.
Save Wilfred/24fdc0bb196383b14e68dfd50125283e to your computer and use it in GitHub Desktop.
(defun racer--slurp (path)
"Return the contents of file PATH as a string."
(with-temp-buffer
(insert-file-contents-literally path)
(buffer-string)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment