all repos — nixfiles @ 53aeaffd2f9fc6ec415fbcf787c8133a669242cf

System and user configuration, managed by nix and home-manager

Emacs: fix magit error

Alan Pearce
commit

53aeaffd2f9fc6ec415fbcf787c8133a669242cf

parent

ba3fc875bd0c5d0eeb2d0aa40e5ebfb219c48190

1 file changed, 2 insertions(+), 1 deletion(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -434,12 +434,13 @@
(use-package magit :defer 10 :commands (magit-status magit-dispatch) + :init (progn + (setq magit-define-global-key-bindings t)) :config (progn (setq magit-auto-revert-mode nil magit-section-visibility-indicator nil magit-diff-refine-hunk 'all magit-display-buffer-function #'display-buffer magit-completing-read-function #'ivy-completing-read) - (global-magit-file-mode +1) (remove-hook 'magit-section-highlight-hook 'magit-section-highlight) (remove-hook 'magit-section-highlight-hook 'magit-section-highlight-selection) (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight)))