Skip to content

Instantly share code, notes, and snippets.

@avatar-lavventura

avatar-lavventura/undo_example.el Secret

Last active Aug 4, 2020
Embed
What would you like to do?
(defun _save-all ()
(interactive)
(let ((message-log-max nil)
(inhibit-message t))
(save-some-buffers t)))
(defun save-all ()
(interactive)
(_save-all)
(bk-kill-buffers "magit: project")
(bk-kill-buffers "__init__.py")
(bk-kill-buffers "*helm"))
(global-set-key (kbd "C-x s") 'save-all)
(global-set-key (kbd "C-x C-s") 'save-all)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.