emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/flymake-refactor 1116aa7 6/6: * lisp/progmodes/fly


From: João Távora
Subject: [Emacs-diffs] scratch/flymake-refactor 1116aa7 6/6: * lisp/progmodes/flymake-ui.el (flymake-mode-map): Bind "M-n" and "M-p"
Date: Thu, 28 Sep 2017 10:28:24 -0400 (EDT)

branch: scratch/flymake-refactor
commit 1116aa76c8ec93b93f56da3a12feff3d291cbd53
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    * lisp/progmodes/flymake-ui.el (flymake-mode-map): Bind "M-n" and "M-p"
---
 lisp/progmodes/flymake-ui.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lisp/progmodes/flymake-ui.el b/lisp/progmodes/flymake-ui.el
index 7eb2791..2b88051 100644
--- a/lisp/progmodes/flymake-ui.el
+++ b/lisp/progmodes/flymake-ui.el
@@ -604,6 +604,13 @@ backends."
         (add-hook 'post-command-hook #'start 'append 'local)
       (start))))
 
+(defvar flymake-mode-map
+  (let ((map (make-sparse-keymap)))
+    (define-key map (kbd "M-n") 'flymake-goto-next-error)
+    (define-key map (kbd "M-p") 'flymake-goto-prev-error)
+    map)
+  "Keymap for `flymake-mode'.")
+
 (define-minor-mode flymake-mode nil
   :group 'flymake :lighter flymake--mode-line-format
   (setq flymake--running-backends nil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]