Refactor flycheck config

This commit is contained in:
Henrik Lissner 2015-11-20 03:59:09 -05:00
parent f3e6fa58fc
commit 66de890cfb
2 changed files with 3 additions and 8 deletions

View file

@ -1,14 +1,10 @@
;;; defuns-flycheck.el
;; for ../core-flycheck.el
;;;###autoload
(defun narf*fly-shorter-status (result)
(format "[%s]" (replace-regexp-in-string " FlyC:?" "" result)))
;;;###autoload
(defun narf*flycheck-buffer ()
(if (and (featurep 'flycheck) flycheck-mode)
(flycheck-buffer)))
(when (and (featurep 'flycheck) flycheck-mode)
(flycheck-buffer)))
;;;###autoload
(defun narf/flycheck-next-error ()