summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-12-08 06:21:42 +0000
committerMatthew Lemon <matt@matthewlemon.com>2022-12-08 06:21:42 +0000
commit48bf9fb78e1c634c9823bf03e5ebbc878d151343 (patch)
tree899e9fa0b5a1bfe564116008e86166a7a3466f3f
parent020e4fb6bd71adcd47805411496d145c04a60264 (diff)
indentation is all important
-rw-r--r--init.el26
1 files changed, 13 insertions, 13 deletions
diff --git a/init.el b/init.el
index a3a9f3e..6328545 100644
--- a/init.el
+++ b/init.el
@@ -273,19 +273,19 @@ Restart works only on graphic display."
(when (and day-match? year-match? month-match?)
f)))
-(defun mrl/denote-journal ()
- "Create an entry tagged 'journal' with the date as its title."
- (interactive)
- (let* ((today-journal (mapcar #'mrl/is-todays-journal? (directory-files (denote-directory) nil "_journal")))
- (journal (if (> (length today-journal) 1)
- (car (cdr today-journal))
- nil)))
- (if journal
- (progn
- (find-file (concat (denote-directory) journal)))
- (denote
- (format-time-string "%A %e %B %Y")
- '("journal")))))
+ (defun mrl/denote-journal ()
+ "Create an entry tagged 'journal' with the date as its title."
+ (interactive)
+ (let* ((today-journal (mapcar #'mrl/is-todays-journal? (directory-files (denote-directory) nil "_journal")))
+ (journal (if (> (length today-journal) 1)
+ (car (cdr today-journal))
+ nil)))
+ (if journal
+ (progn
+ (find-file (concat (denote-directory) journal)))
+ (denote
+ (format-time-string "%A %e %B %Y")
+ '("journal")))))
:bind (("C-c n n" . denote-create-note)
("C-c n d" . mrl/denote-journal)
("C-c n t" . denote-type))