branch: externals/org-gnosis
commit aa6f9bc3bc49dc582ad0fa93241e8e26779eb87a
Author: Thanos Apollo <[email protected]>
Commit: Thanos Apollo <[email protected]>
[fix] create-file: adjust docstring and trailing whitespace.
---
org-gnosis.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/org-gnosis.el b/org-gnosis.el
index be0ff24195..577cea46e5 100644
--- a/org-gnosis.el
+++ b/org-gnosis.el
@@ -144,11 +144,11 @@ If nil, journal entries are created as separate files in
(file :tag "Single journal file")))
(defun org-gnosis-journal--create-file ()
- "Create `org-gnosis-journal' when non-nil and file it does not exists."
+ "Create `org-gnosis-journal-file' when non-nil and file does not exist."
(when (and org-gnosis-journal-file
(not (file-exists-p org-gnosis-journal-file)))
(with-current-buffer (find-file-noselect org-gnosis-journal-file)
- (insert (format "#+title: %s Journal \n#+filetags: \n" (or
user-full-name "")))
+ (insert (format "#+title: %s Journal\n#+filetags: \n" (or user-full-name
"")))
(org-gnosis-mode)
(save-buffer)
(message "Created journal file."))))
@@ -174,8 +174,6 @@ If nil, journal entries are created as separate files in
(emacsql-sqlite-open org-gnosis-database-file)))
org-gnosis-db--connection)
-
-
(defun org-gnosis--combine-tags (inherited-tags headline-tags)
"Combine INHERITED-TAGS and HEADLINE-TAGS, removing duplicates."
(delete-dups (append (or inherited-tags '()) (or headline-tags '()))))