about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.org b/config.org index d6ad3d0..f0aa5b5 100644 --- a/config.org +++ b/config.org
@@ -950,14 +950,14 @@ from [[https://github.com/alphapapa/unpackaged.el#org-return-dwim][unpackaged.el
950#+begin_src emacs-lisp 950#+begin_src emacs-lisp
951 (define-advice magit-list-refs 951 (define-advice magit-list-refs
952 (:around (orig &optional namespaces format sortby) 952 (:around (orig &optional namespaces format sortby)
953 prescient-sort) 953 prescient-sort)
954 "Apply prescient sorting when listing refs." 954 "Apply prescient sorting when listing refs."
955 (let ((res (funcall orig namespaces format sortby))) 955 (let ((res (funcall orig namespaces format sortby)))
956 (if (or sortby 956 (if (or sortby
957 magit-list-refs-sortby 957 magit-list-refs-sortby
958 (not selectrum-should-sort-p)) 958 (not selectrum-should-sort-p))
959 res 959 res
960 (prescient-sort res)))) 960 (prescient-sort res))))
961#+end_src 961#+end_src
962 962
963*** Use =libgit= when I can build it (requires =cmake=) 963*** Use =libgit= when I can build it (requires =cmake=)