From a9705f4245093d4df93ef395d8463b747e15e9e9 Mon Sep 17 00:00:00 2001 From: shoshin Date: Thu, 8 Sep 2022 22:06:38 -0500 Subject: Fix: [flymake] eval after load for keymap --- shoshimacs.org | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'shoshimacs.org') diff --git a/shoshimacs.org b/shoshimacs.org index d47428b..25461f9 100644 --- a/shoshimacs.org +++ b/shoshimacs.org @@ -693,8 +693,9 @@ elpa. however, at the moment i must install from source: ** [[info:flymake#Top][Flymake]] #+begin_src emacs-lisp - (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)) #+end_src * Projects -- cgit v1.2.3