From 8ed2d3dc17524ad88ace5d30927a3f0911e4c5a1 Mon Sep 17 00:00:00 2001 From: Leon Rische Date: Mon, 18 Mar 2024 15:00:54 +0100 Subject: [PATCH] Filter out empty hash for "-" --- org-fc-cache.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-fc-cache.el b/org-fc-cache.el index 208c4b8..0e4c7ec 100644 --- a/org-fc-cache.el +++ b/org-fc-cache.el @@ -158,7 +158,8 @@ date / suspension state before review." (table (make-hash-table :test #'equal))) (dolist (line (split-string output "\n" t)) (let ((parts (split-string line " "))) - (puthash (cadr parts) (car parts) table))) + (unless (string= (cadr parts) "-") + (puthash (cadr parts) (car parts) table)))) table)) ;;; Footer