From ccbf1daaf5de432b6129ffe7496763042e16e5c9 Mon Sep 17 00:00:00 2001 From: mez Date: Fri, 16 May 2025 20:04:15 +0100 Subject: [PATCH] No need to make post categories secret --- custom/capture.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/custom/capture.el b/custom/capture.el index bafc07e..74d8f9f 100644 --- a/custom/capture.el +++ b/custom/capture.el @@ -187,11 +187,9 @@ (defun setcategory () "Set a category for a website post" - (setq categories (s-split "\n" (f-read "~/Documents/drive/admin/emacs/categories.txt") t)) - (setq thecategory (completing-read "Category: " categories)) + (setq thecategory (completing-read "Category: " '("journal memes" "month" "reminding myself how to do stuff" "revues" "writing notes"))) (when (string-match "revues" thecategory) - (setq revtypes (s-split "\n" (f-read "~/Documents/drive/admin/emacs/revtypes.txt") t)) - (setq revtype (completing-read "Type: " revtypes)) + (setq revtype (completing-read "Type: " '("book" "game" "music" "sight"))) (setq thecategory (concat thecategory "\n:type: "revtype))) thecategory)