branch: elpa/flymake-kondor
commit dc50d6ab396e4a7d4200667761dc8f7a138abaf3
Author: ad...@turbocafe.in.eu.org <ad...@turbocafe.in.eu.org>
Commit: ad...@turbocafe.in.eu.org <ad...@turbocafe.in.eu.org>

    melpa package test and build
---
 README.org        | 6 +++---
 flymake-kondor.el | 3 +--
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/README.org b/README.org
index d70f288..aea1dd1 100644
--- a/README.org
+++ b/README.org
@@ -19,7 +19,7 @@ instructions]]; then proceed with your preferred way of 
adding packages
 #+BEGIN_SRC emacs-lisp
 (el-get-bundle flymake-kondor
                :url 
"https://raw.githubusercontent.com/turbo-cafe/flymake-kondor/master/flymake-kondor.el";
-               (add-hook 'clojure-mode-hook 'flymake-kondor-setup))
+               (add-hook 'clojure-mode-hook #'flymake-kondor-setup))
 #+END_SRC
 
 * local
@@ -27,7 +27,7 @@ instructions]]; then proceed with your preferred way of 
adding packages
 #+BEGIN_SRC emacs-lisp
 (add-to-list 'load-path "~/path/to/flymake-kondor")
 (require "flymake-kondor")
-(add-hook 'clojure-mode-hook 'flymake-kondor-setup)
+(add-hook 'clojure-mode-hook #'flymake-kondor-setup)
 #+END_SRC
 
 
@@ -43,7 +43,7 @@ in buffer instantly
   :bind (([f8] . flymake-goto-next-error)
          ([f7] . flymake-goto-prev-error))
   :hook (prog-mode . (lambda () (flymake-mode t)))
-  :config (remove-hook 'flymake-diagnostic-functions 
'flymake-proc-legacy-flymake))
+  :config (remove-hook 'flymake-diagnostic-functions 
#'flymake-proc-legacy-flymake))
 #+END_SRC
 
 there's [[https://github.com/borkdude/flycheck-clj-kondo][sister project]] 
that integrates  clj-kondo into flycheck
diff --git a/flymake-kondor.el b/flymake-kondor.el
index 3c64302..77c598e 100644
--- a/flymake-kondor.el
+++ b/flymake-kondor.el
@@ -61,8 +61,7 @@
 ;;;###autoload
 (defun flymake-kondor-setup ()
   "Enable flymake backend."
-  (flymake-mode t)
-  (add-hook 'flymake-diagnostic-functions 'flymake-kondor-backend nil t))
+  (add-hook 'flymake-diagnostic-functions #'flymake-kondor-backend nil t))
 
 (provide 'flymake-kondor)
 

Reply via email to