I have this peace of code :
(use-package flymake
:ensure t
:hook (prog-mode . flymake-mode)
:bind (("C-h ." . display-local-help)
:map flymake-mode-map
("C-c ! n" . flymake-goto-next-error)
("C-c ! p" . flymake-goto-prev-error)
("C-c ! l" . flymake-show-buffer-diagnostics)))
And wonder what is the corresponding emacs-lisp command for the part
:bind
:map flymake-mode-map
("c-c ! n" . flymake-goto-next-error)
I guest that :
:hook
Correspond to (add-hook) but :bind :map I dont know