summaryrefslogtreecommitdiff
path: root/keybindings.el
diff options
context:
space:
mode:
Diffstat (limited to 'keybindings.el')
-rw-r--r--keybindings.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/keybindings.el b/keybindings.el
index ce5d89e..120088f 100644
--- a/keybindings.el
+++ b/keybindings.el
@@ -1,5 +1,6 @@
(defun xcpu-commit-current-file ()
(interactive)
+ (save-buffer)
(magit-stage-file (magit-file-relative-name))
(magit-commit)
)