This commit is contained in:
Henrik Lissner 2015-11-21 16:22:40 -05:00
parent d44d1ab0d0
commit 8537361e50
14 changed files with 58 additions and 58 deletions

View file

@ -1,9 +1,15 @@
;;; defuns-flycheck.el
;; for ../core-flycheck.el
;;;###autoload
(defun narf|flycheck-enable-maybe ()
(unless (or (bound-and-true-p org-src-mode)
(eq major-mode 'org-mode))
(flycheck-mode +1)))
;;;###autoload
(defun narf*flycheck-buffer ()
(when (and (featurep 'flycheck) flycheck-mode)
(when (bound-and-true-p flycheck-mode)
(flycheck-buffer)))
;;;###autoload