From 2b60e4f363f40df58a1bfd91027ea0a098373c38 Mon Sep 17 00:00:00 2001 From: noa Date: Sun, 16 Feb 2025 21:52:38 +0800 Subject: Add helper variables for note command --- emacs/init.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs') diff --git a/emacs/init.el b/emacs/init.el index 7d67d90..db85235 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -925,6 +925,11 @@ necessary variables are set." :mode ((rx (or ".lisp" ".cl") eos) . common-lisp-mode)) +(defvar note/directory "~/Documents/Notes" + "The directory in which notes are stored.") +(defvar note/file-ending "md" + "The file ending for new notes.") + (defun note/new (&optional other-window) (interactive "P") (let* ((uid (format-time-string "%Y-%m-%d-%H%M%S")) -- cgit 1.4.1-2-gfad0