doomemacs/core/defuns/defuns-flycheck.el

34 lines
744 B
EmacsLisp
Raw Normal View History

2015-06-15 09:05:52 +02:00
;;; defuns-flycheck.el
;; for ../core-flycheck.el
;;;###autoload
2016-05-20 22:37:30 -04:00
(defun doom*flycheck-buffer ()
2015-11-21 16:22:40 -05:00
(when (bound-and-true-p flycheck-mode)
2015-11-20 03:59:09 -05:00
(flycheck-buffer)))
2015-06-15 09:05:52 +02:00
;;;###autoload
2016-05-20 22:37:30 -04:00
(defun doom/flycheck-next-error ()
2015-06-15 09:05:52 +02:00
(interactive)
(call-interactively
(if (bound-and-true-p flycheck-mode)
'flycheck-next-error
'next-error)))
;;;###autoload
2016-05-20 22:37:30 -04:00
(defun doom/flycheck-previous-error ()
2015-06-15 09:05:52 +02:00
(interactive)
(call-interactively
(if (bound-and-true-p flycheck-mode)
'flycheck-previous-error
'previous-error)))
2015-11-30 16:49:18 -05:00
;;;###autoload
2016-05-20 22:37:30 -04:00
(defun doom/flycheck-errors ()
2015-11-30 16:49:18 -05:00
(interactive)
(when (bound-and-true-p flycheck-mode)
(flycheck-buffer)
(flycheck-list-errors)))
2015-06-15 09:05:52 +02:00
(provide 'defuns-flycheck)
;;; defuns-flycheck.el ends here