From bbea31f892bf9026102d86a22ce1f7ee9e95362f Mon Sep 17 00:00:00 2001 From: Abdelhak Bougouffa Date: Tue, 3 Dec 2024 21:46:43 +0100 Subject: [PATCH] refactor(citar): remove unneeded stuff (cherry picked from commit ff385e045264337666e23eb07acdbe40811870f0) --- modules/me-org.el | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/modules/me-org.el b/modules/me-org.el index 613864db..d77398df 100644 --- a/modules/me-org.el +++ b/modules/me-org.el @@ -113,15 +113,10 @@ (citar-symbol-separator " ") :config (with-eval-after-load 'nerd-icons - (defun +citar--set-symbols () - (setq citar-symbols - `((file ,(nerd-icons-codicon "nf-cod-file_pdf" :face 'error) . " ") - (note ,(nerd-icons-faicon "nf-fa-file_text" :face 'warning) . " ") - (link ,(nerd-icons-mdicon "nf-md-link" :face 'org-link) . " ")))) - - ;; Properly setup citar-symbols - (once-x-call '(:check display-graphic-p :hooks server-after-make-frame-hook :packages (citar)) - #'+citar--set-symbols))) + (setq citar-symbols + `((file ,(nerd-icons-codicon "nf-cod-file_pdf" :face 'error) . " ") + (note ,(nerd-icons-faicon "nf-fa-file_text" :face 'warning) . " ") + (link ,(nerd-icons-mdicon "nf-md-link" :face 'org-link) . " "))))) ;; Citar integration with Embark