Created
October 27, 2015 15:57
-
-
Save faried/f8265ed76773f2ce337d 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
;; save the buffer when we get input | |
(defun zenicb-save-buffer-frequently (&rest foo) | |
(when (buffer-file-name) | |
(save-excursion | |
(save-buffer)))) | |
(zenicb-add-hook 'zenicb-message-hook 'zenicb-save-buffer-frequently) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment