doomemacs/core/lib/defuns-flycheck.el

27 lines
597 B
EmacsLisp
Raw Normal View History

2015-06-15 09:05:52 +02:00
;;; defuns-flycheck.el
;; for ../core-flycheck.el
;;;###autoload
(defun narf*flycheck-buffer ()
2015-11-20 03:59:09 -05:00
(when (and (featurep 'flycheck) flycheck-mode)
(flycheck-buffer)))
2015-06-15 09:05:52 +02:00
;;;###autoload
(defun narf/flycheck-next-error ()
(interactive)
(call-interactively
(if (bound-and-true-p flycheck-mode)
'flycheck-next-error
'next-error)))
;;;###autoload
(defun narf/flycheck-previous-error ()
(interactive)
(call-interactively
(if (bound-and-true-p flycheck-mode)
'flycheck-previous-error
'previous-error)))
(provide 'defuns-flycheck)
;;; defuns-flycheck.el ends here