[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-journal 0e1dbddb31 2/6: Apply suggestions from code re
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-journal 0e1dbddb31 2/6: Apply suggestions from code review |
Date: |
Fri, 13 Oct 2023 10:01:43 -0400 (EDT) |
branch: elpa/org-journal
commit 0e1dbddb312066ae8ff0de34025f8f5f220a468f
Author: Dylan Cascio <dcascio73@gmail.com>
Commit: GitHub <noreply@github.com>
Apply suggestions from code review
Co-authored-by: zhyzky <zhyzky@users.noreply.github.com>
---
org-journal.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/org-journal.el b/org-journal.el
index d8ae419ccb..430c5734b2 100644
--- a/org-journal.el
+++ b/org-journal.el
@@ -465,10 +465,10 @@ before it will be deposed."
(generate-new-buffer (file-name-nondirectory ,file))))
result)
(with-current-buffer buf
- (let ((major-mode 'org-mode))
(unless buffer-exists
(insert-file-contents ,file))
- (setq result (progn ,@body))))
+ (setq result (let ((major-mode 'org-mode))
+ (progn ,@body))))
(unless buffer-exists
(kill-buffer buf))
result))
- [nongnu] elpa/org-journal updated (18df4d5ae5 -> ac0832f02a), ELPA Syncer, 2023/10/13
- [nongnu] elpa/org-journal ac0832f02a 6/6: Merge pull request #415 from drfiresign/patch-1, ELPA Syncer, 2023/10/13
- [nongnu] elpa/org-journal 4bbe643452 4/6: Add comment describing the use of let to override major-mode value, ELPA Syncer, 2023/10/13
- [nongnu] elpa/org-journal 7efc5ed148 3/6: indentation update, ELPA Syncer, 2023/10/13
- [nongnu] elpa/org-journal 9e3f0436cb 1/6: Update org-journal.el, ELPA Syncer, 2023/10/13
- [nongnu] elpa/org-journal be005c1f93 5/6: Reword comment for better clarity, ELPA Syncer, 2023/10/13
- [nongnu] elpa/org-journal 0e1dbddb31 2/6: Apply suggestions from code review,
ELPA Syncer <=