From bc450ecd927bd89295dc5bfb55cb87abe5028bad Mon Sep 17 00:00:00 2001 From: Nolan Prescott Date: Wed, 12 Aug 2020 22:45:40 -0400 Subject: [PATCH] enclose visual-fill-column-mode in condition body call to enable visual-fill-column-mode was contained in featurep "subfeature" list instead of "when" body and triggered an error in the case that visual fill column mode was not installed --- gemini-mode.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gemini-mode.el b/gemini-mode.el index a0d739c..0e915de 100644 --- a/gemini-mode.el +++ b/gemini-mode.el @@ -138,7 +138,8 @@ insert a list item." "Major mode for editing text/gemini 'geminimap' documents" (setq font-lock-defaults '(gemini-highlights)) (visual-line-mode 1) - (when (featurep 'visual-fill-column (visual-fill-column-mode 1)))) + (when (featurep 'visual-fill-column) + (visual-fill-column-mode 1))) ;;;###autoload (progn