emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/org-journal 64a1fbc504 2/2: Merge pull request #409 from t


From: ELPA Syncer
Subject: [nongnu] elpa/org-journal 64a1fbc504 2/2: Merge pull request #409 from tomoyukim/master
Date: Fri, 24 Feb 2023 11:00:40 -0500 (EST)

branch: elpa/org-journal
commit 64a1fbc504269f407b9270cc2c4c5e34a85508c0
Merge: 2f220a06e3 ceed76f0de
Author: Bastian Bechtold <bastibe@users.noreply.github.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #409 from tomoyukim/master
    
    Support a symlink directory as org-journal-dir
---
 org-journal.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org-journal.el b/org-journal.el
index f175439c54..720e46181f 100644
--- a/org-journal.el
+++ b/org-journal.el
@@ -482,7 +482,7 @@ before it will be deposed."
 (defun org-journal-is-journal ()
   "Determine if file is a journal file."
   (and (buffer-file-name)
-       (string-match (org-journal--dir-and-file-format->pattern) 
(buffer-file-name))))
+       (string-match (org-journal--dir-and-file-format->pattern) 
(file-truename (buffer-file-name)))))
 
 ;; Open files in `org-journal-mode' if `org-journal-is-journal' returns true.
 (add-to-list 'magic-mode-alist '(org-journal-is-journal . org-journal-mode))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]