From 5322ca88eb5c0320ff2f12452bf0a915dc14cbf9 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 24 Oct 2022 09:50:53 +0100 Subject: [PATCH] chore(editor/all-the-icons): remove custom project-file category alias It is now part of the MintSoup's fork of all-the-icons-completion. --- core/siren-core-package-overrides.el | 3 ++- modules/editor/siren-all-the-icons.el | 8 ++------ straight/versions/default.el | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/core/siren-core-package-overrides.el b/core/siren-core-package-overrides.el index b9454e5..67d001d 100644 --- a/core/siren-core-package-overrides.el +++ b/core/siren-core-package-overrides.el @@ -8,7 +8,8 @@ (setq straight-recipe-overrides '((nil . ( - ;; Use fork with more features until PR is merged: https://github.com/iyefrat/all-the-icons-completion/pull/19 + ;; Override all-the-icons-completion to use fork with more + ;; features. (all-the-icons-completion :type git :flavor melpa :host github :repo "iyefrat/all-the-icons-completion" :fork (:host github :repo "MintSoup/all-the-icons-completion")) ;; Override go-playground to use my fork, which has a fix for diff --git a/modules/editor/siren-all-the-icons.el b/modules/editor/siren-all-the-icons.el index 54f1796..33daf82 100644 --- a/modules/editor/siren-all-the-icons.el +++ b/modules/editor/siren-all-the-icons.el @@ -46,14 +46,10 @@ (when (not (fboundp 'all-the-icons-completion-get-file-icon)) (require 'cl-generic) + ;; Add support for 'project-buffer category by treating it same as 'buffer. (cl-defmethod all-the-icons-completion-get-icon ((cand string) (cat (eql 'project-buffer))) - "Display project-buffer icon for CAND all-the-icons-completion." - (all-the-icons-completion-get-icon cand 'buffer)) + (all-the-icons-completion-get-icon cand 'buffer)))) - ;; Add support for 'project-file category by treating it same as 'file. - (cl-defmethod all-the-icons-completion-get-icon ((cand string) (cat (eql 'project-file))) - "Display project-file icon for CAND all-the-icons-completion." - (all-the-icons-completion-get-icon cand 'file)))) (provide 'siren-all-the-icons) ;;; siren-all-the-icons.el ends here diff --git a/straight/versions/default.el b/straight/versions/default.el index e342b6a..53bbcfc 100644 --- a/straight/versions/default.el +++ b/straight/versions/default.el @@ -1,6 +1,6 @@ (("a.el" . "93e5ed8c495794d1ba3c04b43041b95ce01079b1") ("ace-window" . "77115afc1b0b9f633084cf7479c767988106c196") - ("all-the-icons-completion" . "b8e3c4ceb862a3cbb771884c1e6b5d884356f141") + ("all-the-icons-completion" . "e09e65bf05b247ea0e2bdc5d36ea5a58fc2ed69b") ("all-the-icons-ibuffer" . "54c99aeb17989f684eb7bf3aa88b12adf7dd2d34") ("all-the-icons.el" . "51bf77da1ebc3c199dfc11f54c0dce67559f5f40") ("anzu" . "5abb37455ea44fa401d5f4c1bdc58adb2448db67")