aboutsummaryrefslogtreecommitdiff
path: root/shoshimacs.org
diff options
context:
space:
mode:
authorshoshin <shoshin@cicadas.surf>2022-09-08 22:06:38 -0500
committershoshin <shoshin@cicadas.surf>2022-09-08 22:06:38 -0500
commita9705f4245093d4df93ef395d8463b747e15e9e9 (patch)
treeb2e9169853a9d6d22e15f2c03e60f10069e55718 /shoshimacs.org
parent971e209e7530d7b0f5f5a68617220524d09f67e3 (diff)
Fix: [flymake] eval after load for keymap
Diffstat (limited to 'shoshimacs.org')
-rw-r--r--shoshimacs.org5
1 files changed, 3 insertions, 2 deletions
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