Skip to content

Commit

Permalink
try2 to byte-compile init.el from zero with right way
Browse files Browse the repository at this point in the history
  • Loading branch information
semenInRussia committed Jun 13, 2024
1 parent e106dd5 commit ff0a5a2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@
;; not only when init.el inside ~/.emacs.d
(eval-and-compile
(setq user-emacs-directory
(file-name-directory (or load-file-name
(buffer-file-name)))))
(file-name-directory (or load-file-name
(buffer-file-name)
byte-compile-current-file))))

;;; Handle --local-projects flag

Expand Down

0 comments on commit ff0a5a2

Please sign in to comment.