Skip to content

Commit

Permalink
refactor(project): use use-package :hook block
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 26, 2023
1 parent 19a5213 commit 96b6d8b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
:straight (:type built-in)
:after minemacs-loaded
:demand t
:hook (kill-emacs . project-forget-zombie-projects)
:custom
(project-list-file (concat minemacs-local-dir "project-list.el"))
(project-vc-extra-root-markers '(".projectile.el" ".project.el" ".project"))
Expand Down Expand Up @@ -101,9 +102,7 @@
"ss" #'project-search
"sn" '(fileloop-continue :wk "Next match")
"sr" #'project-query-replace-regexp
"sf" #'project-find-regexp)
:config
(add-hook 'kill-emacs-hook #'project-forget-zombie-projects))
"sf" #'project-find-regexp))

(use-package tab-bar
:straight (:type built-in)
Expand Down

0 comments on commit 96b6d8b

Please sign in to comment.