summary refs log tree commit diff
diff options
context:
space:
mode:
authornoa2025-02-16 21:52:38 +0800
committernoa2025-02-16 21:52:38 +0800
commit2b60e4f363f40df58a1bfd91027ea0a098373c38 (patch)
tree85cd203cbbbe1e51e768a60967ca44614294b158
parente7d5f0d3b4901a79f18faa5bc554ad440322aeb7 (diff)
Add helper variables for note command
-rw-r--r--emacs/init.el5
1 files changed, 5 insertions, 0 deletions
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"))