diff options
author | noa | 2025-02-16 21:52:38 +0800 |
---|---|---|
committer | noa | 2025-02-16 21:52:38 +0800 |
commit | 2b60e4f363f40df58a1bfd91027ea0a098373c38 (patch) | |
tree | 85cd203cbbbe1e51e768a60967ca44614294b158 /emacs/init.el | |
parent | e7d5f0d3b4901a79f18faa5bc554ad440322aeb7 (diff) |
Add helper variables for note command
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 5 |
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")) |