diff options
| author | João Távora | 2017-09-28 14:57:01 +0100 |
|---|---|---|
| committer | João Távora | 2017-10-03 14:18:55 +0100 |
| commit | 87993cdcc69d3cc21cfe3bf2ed9e0ffbd3cfe5f0 (patch) | |
| tree | 74d5f690418600400476924b07bdd821b40503f2 | |
| parent | 1b271ad76eff4bd570c292dd7a8c696c19361056 (diff) | |
| download | emacs-87993cdcc69d3cc21cfe3bf2ed9e0ffbd3cfe5f0.tar.gz emacs-87993cdcc69d3cc21cfe3bf2ed9e0ffbd3cfe5f0.zip | |
Explicitly add a(n empty) keymap for Flymake
Too early to decide what will be in it, if anything. Though "M-n" and
"M-p" would be great.
* lisp/progmodes/flymake-ui.el (flymake-mode-map): New variable
| -rw-r--r-- | lisp/progmodes/flymake.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 00bea3f55bd..c628b4e8248 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -631,9 +631,14 @@ backends." | |||
| 631 | (add-hook 'post-command-hook #'start 'append 'local) | 631 | (add-hook 'post-command-hook #'start 'append 'local) |
| 632 | (start)))) | 632 | (start)))) |
| 633 | 633 | ||
| 634 | (defvar flymake-mode-map | ||
| 635 | (let ((map (make-sparse-keymap))) | ||
| 636 | map) | ||
| 637 | "Keymap for `flymake-mode'.") | ||
| 638 | |||
| 634 | ;;;###autoload | 639 | ;;;###autoload |
| 635 | (define-minor-mode flymake-mode nil | 640 | (define-minor-mode flymake-mode nil |
| 636 | :group 'flymake :lighter flymake--mode-line-format | 641 | :group 'flymake :lighter flymake--mode-line-format :keymap flymake-mode-map |
| 637 | (setq flymake--running-backends nil | 642 | (setq flymake--running-backends nil |
| 638 | flymake--disabled-backends nil) | 643 | flymake--disabled-backends nil) |
| 639 | (cond | 644 | (cond |