Skip to content

Instantly share code, notes, and snippets.

@milkypostman
Created October 13, 2011 03:51
Show Gist options
  • Save milkypostman/1283328 to your computer and use it in GitHub Desktop.
Save milkypostman/1283328 to your computer and use it in GitHub Desktop.
Shell Command Function in Elisp
(defun shell-command-on-region-to-string (start end command)
(with-output-to-string
(shell-command-on-region start end command standard-output)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment