diff options
Diffstat (limited to 'modules/flycheck-config.el')
| -rw-r--r-- | modules/flycheck-config.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/flycheck-config.el b/modules/flycheck-config.el index 8932a3ac..5626095c 100644 --- a/modules/flycheck-config.el +++ b/modules/flycheck-config.el @@ -10,9 +10,8 @@ ;; candidate. ;; Top-level side effects: package configuration via use-package, binds into ;; cj/custom-keymap through use-package :map. -;; Runtime requires: keybindings is needed for the cj/custom-keymap :map binding -;; but is not required here; the binding fails standalone. Phase 2 fix. -;; Direct test load: conditional (needs cj/custom-keymap for the :map binding). +;; Runtime requires: keybindings. +;; Direct test load: yes (requires keybindings explicitly). ;; ;; This file configures Flycheck for on-demand syntax and grammar checking. ;; - Flycheck starts automatically only in sh-mode and emacs-lisp-mode @@ -44,6 +43,8 @@ ;;; Code: +(require 'keybindings) ;; provides cj/custom-keymap (use-package :map below) + (defun cj/prose-helpers-on () "Ensure that `abbrev-mode' and `flycheck-mode' are on in the current buffer." (interactive) |
