From 50007f353037d8bd1580e9367364c526b24a6f2e Mon Sep 17 00:00:00 2001 From: Random936 Date: Mon, 26 Feb 2024 08:19:31 -0800 Subject: [PATCH] Swapped mapconcat with string-join - slight refactor --- .emacs.d/functions.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.emacs.d/functions.org b/.emacs.d/functions.org index 681c39f..4862b90 100644 --- a/.emacs.d/functions.org +++ b/.emacs.d/functions.org @@ -30,7 +30,7 @@ These functions are for my org roam daily capture template. #+begin_src emacs-lisp (defun jm/dt-filter-tasks (helper query) (let ((entries (org-map-entries helper query 'agenda))) - (mapconcat #'identity (delq nil entries) "\n"))) + (string-join (delq nil entries) "\n"))) (defun jm/dt-format-link (prefix) (let ((item-name (org-entry-get nil "ITEM"))