summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-10-15 13:11:21 -0700
committerFranck Cuny <franck@fcuny.net>2022-10-15 13:11:21 -0700
commit077255abc02b88e422845aecbba1fa6c9c174b8f (patch)
treedebed8ecb623bf680b45385cca108e43f5b4da60 /emacs/custom
parentref(text): group settings and require the modules (diff)
downloademacs.d-077255abc02b88e422845aecbba1fa6c9c174b8f.tar.gz
ref(flymake): add comments for the sections
Change-Id: Ic81ec491542ded173460058e5c97c798317c7a08
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/my-flymake.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/emacs/custom/my-flymake.el b/emacs/custom/my-flymake.el
index 74ae98d..40f6ab9 100644
--- a/emacs/custom/my-flymake.el
+++ b/emacs/custom/my-flymake.el
@@ -7,13 +7,16 @@
 
 (require 'flymake)
 
+;;; settings
 (setq flymake-start-on-save-buffer t)
 (setq elisp-flymake-byte-compile-load-path load-path)
 
+;;; bindings
 (define-key flymake-mode-map (kbd "C-c ! n") 'flymake-goto-next-error)
 (define-key flymake-mode-map (kbd "C-c ! p") 'flymake-goto-prev-error)
 (define-key flymake-mode-map (kbd "C-c ! d") 'flymake-show-diagnostics-buffer)
 
+;;; hooks
 (dolist (hook '(prog-mode-hook conf-mode-hook))
   (add-hook hook 'flymake-mode))