summaryrefslogtreecommitdiffhomepage
path: root/lib/doc/jao-org-notes.el
diff options
context:
space:
mode:
Diffstat (limited to 'lib/doc/jao-org-notes.el')
-rw-r--r--lib/doc/jao-org-notes.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/doc/jao-org-notes.el b/lib/doc/jao-org-notes.el
index 9caec57..c690ae2 100644
--- a/lib/doc/jao-org-notes.el
+++ b/lib/doc/jao-org-notes.el
@@ -89,6 +89,7 @@
(defvar jao-org-notes--tags nil)
(defun jao-org-notes--update-tags ()
+ (message "Updating tags cache...")
(setq jao-org-notes--tags
(org-global-tags-completion-table
(directory-files-recursively jao-org-notes-dir ".*\\.org"))))
@@ -107,7 +108,7 @@
(defun jao-org-notes--template (k)
`(,k "Note" plain (file jao-org-notes-open-or-create)
- "\n- %A %c"
+ "\n- %a"
:jump-to-captured t))
;;;###autoload
@@ -124,8 +125,7 @@
(when (jao-org-notes--insert-title)
(jao-org-notes--insert-date)
(jao-org-notes--insert-tags)
- (jao-org-notes--update-tags)
- (insert "#+link: "))
+ (jao-org-notes--update-tags))
(save-buffer)
(buffer-file-name))