From fa5bebc13a45faf865cc1cf7298f916dde09601a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 23 Jan 2019 14:41:44 -0500 Subject: [PATCH] tools/magit: fix ivy's sorting with magit #1131 By default, magit-completing-read-function is set to magit-builtin-completing-read, which already includes ivy support. --- modules/tools/magit/config.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/modules/tools/magit/config.el b/modules/tools/magit/config.el index 97af76ff2..c6ce4e960 100644 --- a/modules/tools/magit/config.el +++ b/modules/tools/magit/config.el @@ -19,11 +19,7 @@ what features are available.") :init (setq magit-auto-revert-mode nil) ; we already use `global-auto-revert-mode' :config - (setq magit-completing-read-function - (if (featurep! :completion ivy) - #'ivy-completing-read - #'magit-builtin-completing-read) - magit-revision-show-gravatars '("^Author: " . "^Commit: ") + (setq magit-revision-show-gravatars '("^Author: " . "^Commit: ") magit-diff-refine-hunk t ; show word-granularity on selected hunk magit-display-buffer-function #'+magit-display-buffer magit-popup-display-buffer-action '((+magit-display-popup-buffer)))