Skip to content

Commit

Permalink
fix(_prepare.el): Generate log files in user directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Sep 12, 2022
1 parent 11caa95 commit 974a17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/_prepare.el
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ Standard is, 0 (error), 1 (warning), 2 (info), 3 (log), 4 or above (debug)."
(add-hook 'kill-emacs-hook ; Write log files
(lambda (&rest _)
(when eask-log-file
(let ((log-dir (expand-file-name eask-log-path)))
(let ((log-dir (expand-file-name eask-log-path eask-file-root)))
(make-directory log-dir t)
(eask--log-write-buffer "*Messages*" "messages.log")
(eask--log-write-buffer "*Warnings*" "warnings.log")
Expand Down

0 comments on commit 974a17e

Please sign in to comment.