From e599383162f5103d033a61be833aa27fef1895a5 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Fri, 14 Oct 2022 17:40:33 -0700 Subject: ref: move flymake and eldoc configuration to their own libraries Change-Id: Ida9e0f7d6ee25cf5fe8e208d1ae5c77aa28cfe0f --- emacs/custom/my-prog.el | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'emacs/custom/my-prog.el') diff --git a/emacs/custom/my-prog.el b/emacs/custom/my-prog.el index d11eebd..c20293e 100644 --- a/emacs/custom/my-prog.el +++ b/emacs/custom/my-prog.el @@ -19,17 +19,6 @@ ;; Jump to first error (customize-set-variable 'compilation-scroll-output 'first-error) -(require 'flymake) -(setq flymake-start-on-save-buffer t) -(setq elisp-flymake-byte-compile-load-path load-path) - -(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) - -(dolist (hook '(prog-mode-hook conf-mode-hook)) - (add-hook hook 'flymake-mode)) - ;; yasnippet is required to support place holders with eglot (dolist (hook '(prog-mode-hook conf-mode-hook org-mode-hook)) (add-hook hook 'yas-minor-mode)) -- cgit 1.4.1