Skip to content

Commit

Permalink
feat(init): define some first file hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 15, 2023
1 parent 5bc1777 commit 580a089
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions init.el
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,11 @@
;; Add it to the very begining of `emacs-startup-hook'
(add-hook 'emacs-startup-hook #'+minemacs--loaded-h -101)

;; ========= Make some special hooks =========
(+make-first-file-hook! "org" "\\.org$")
(+make-first-file-hook! "elisp" "\\.elc?$")
(+make-first-file-hook! nil ".")

;; ========= Load MinEmacs packages and user customization =========
;; When running in an async Org export context, the used modules are set in
;; modules/extras/me-org-export-async-init.el, so we must not overrite them with
Expand Down

0 comments on commit 580a089

Please sign in to comment.