summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2015-07-26 16:42:44 +0200
committerAlan Pearce2015-07-26 16:42:44 +0200
commit9ebbf3bbb386ca69ecb266fe50cec3dc914a1beb (patch)
tree170199fd0942bc457f6483c198d88d8650b902cd /tag-emacs
parentb0784e8a8bf42215897696762f39905b5a392ef0 (diff)
downloadnixfiles-9ebbf3bbb386ca69ecb266fe50cec3dc914a1beb.tar.lz
nixfiles-9ebbf3bbb386ca69ecb266fe50cec3dc914a1beb.tar.zst
nixfiles-9ebbf3bbb386ca69ecb266fe50cec3dc914a1beb.zip
Emacs: Use Magit’s WIP functionality
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 14fda85f..12b4cab5 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -242,7 +242,10 @@ time.  Make sure to set it up with a nice =completing-read-function=
     :config (progn (rename-modeline magit-status-mode (char-to-string (-find #'char-displayable-p '(11942 5848 177))))
                    (setq magit-last-seen-setup-instructions "1.4.0"
                          magit-completing-read-function #'magit-ido-completing-read
-                         magit-popup-use-prefix-argument 'default))
+                         magit-wip-after-save-mode t
+                         magit-wip-after-apply-mode t
+                         magit-popup-use-prefix-argument 'default)
+                   (add-to-list 'magit-no-confirm 'safe-with-wip))
     :init (add-hook 'magit-mode-hook #'magit-load-config-extensions))
 #+END_SRC