diff options
author | Case Duckworth | 2022-01-24 07:58:12 -0600 |
---|---|---|
committer | Case Duckworth | 2022-01-24 07:58:12 -0600 |
commit | f7622fc5913ae76ea11c4e17c652a2e6bfe08748 (patch) | |
tree | cd77b5c349f4f335e5a16f59b56e23ed6d6fcd3e | |
parent | Ignore eshell/* but aliases (diff) | |
download | emacs-f7622fc5913ae76ea11c4e17c652a2e6bfe08748.tar.gz emacs-f7622fc5913ae76ea11c4e17c652a2e6bfe08748.zip |
Separate out package-lint-flymake setup form
-rw-r--r-- | init.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el index 4756312..dc766d2 100644 --- a/init.el +++ b/init.el | |||
@@ -1433,8 +1433,9 @@ See also `crux-reopen-as-root-mode'." | |||
1433 | (setup (:straight orglink) | 1433 | (setup (:straight orglink) |
1434 | (global-orglink-mode +1)) | 1434 | (global-orglink-mode +1)) |
1435 | 1435 | ||
1436 | (setup (:straight package-lint | 1436 | (setup (:straight package-lint)) |
1437 | package-lint-flymake) | 1437 | |
1438 | (setup (:straight package-lint-flymake) | ||
1438 | (add-hook 'emacs-mode-hook #'package-lint-flymake-setup) | 1439 | (add-hook 'emacs-mode-hook #'package-lint-flymake-setup) |
1439 | ;; Remove it from init.el files | 1440 | ;; Remove it from init.el files |
1440 | (add-hook '+init-mode-hook #'flymake-mode-off)) | 1441 | (add-hook '+init-mode-hook #'flymake-mode-off)) |