aboutsummaryrefslogtreecommitdiff
path: root/shoshimacs.el
diff options
context:
space:
mode:
Diffstat (limited to 'shoshimacs.el')
-rw-r--r--shoshimacs.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/shoshimacs.el b/shoshimacs.el
index b2981d5..78fff01 100644
--- a/shoshimacs.el
+++ b/shoshimacs.el
@@ -189,8 +189,9 @@
(package-install 'devdocs)
-(define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
-(define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error)
+(with-eval-after-load 'flymake
+ (define-key flymake-mode-map (kbd "M-n") 'flymake-goto-next-error)
+ (define-key flymake-mode-map (kbd "M-p") 'flymake-goto-prev-error))
;;; Projects
(package-install 'magit)