branch: externals/org-remark
commit feb1dca00670ca2d686b8e16b406d169995e203e
Author: Noboru Ota <m...@nobiot.com>
Commit: Noboru Ota <m...@nobiot.com>

    intrnl: minor refactoring
---
 org-remark-global-tracking.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/org-remark-global-tracking.el b/org-remark-global-tracking.el
index dc191897fb..82db9406e0 100644
--- a/org-remark-global-tracking.el
+++ b/org-remark-global-tracking.el
@@ -54,12 +54,12 @@ locally for the file opened."
    (org-remark-global-tracking-mode
     ;; Activate
     ;; Prioritise the new `org-remark-tracking-file' over the legacy one
-    (when-let ((tracking-file (or (when (file-exists-p
+    (when-let (tracking-file (or (when (file-exists-p
                                     org-remark-tracking-file)
                                org-remark-tracking-file)
                              (when (file-exists-p
                                     (org-remark-legacy-tracking-file-get))
-                               (org-remark-legacy-tracking-file-get)))))
+                               (org-remark-legacy-tracking-file-get))))
       (org-remark-tracking-load tracking-file))
     ;; `org-remark-tracking-save' should be added to kill hook even when no
     ;; tracking file existed before -- this would indicate first time use of

Reply via email to