Created
September 22, 2012 16:25
-
-
Save joelmccracken/3766662 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun write-file-no-msg (filename) | |
"write current buffer without causing a message to whatever" | |
(let ((write-proc (start-process-shell-command "silent-write-file" "*silent-write-file*" | |
(format "cat > %s" filename)))) | |
(process-send-string write-proc (buffer-string)) | |
(process-send-eof write-proc))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment