branch: externals/org-gnosis
commit 18fa485148c69c512346c54d3840df410e54b42a
Author: Thanos Apollo <pub...@thanosapollo.org>
Commit: Thanos Apollo <pub...@thanosapollo.org>

    journal-insert: Add support for custom description.
    
    + This commit should have been included in version 0.0.8.
---
 org-gnosis.el | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/org-gnosis.el b/org-gnosis.el
index 2fe269f0a7..064814fda7 100644
--- a/org-gnosis.el
+++ b/org-gnosis.el
@@ -526,10 +526,12 @@ If JOURNAL-P is non-nil, retrieve/create node as a 
journal entry."
        (org-gnosis-select-template org-gnosis-journal-templates)))))
 
 ;;;###autoload
-(defun org-gnosis-journal-insert ()
-  "Insert journal entry."
-  (interactive)
-  (org-gnosis-insert t))
+(defun org-gnosis-journal-insert (arg)
+  "Insert journal entry.
+
+If called with prefix ARG, use custom link description."
+  (interactive "P")
+  (org-gnosis-insert arg t))
 
 ;;;###autoload
 (defun org-gnosis-journal ()

Reply via email to