summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar Nolan Prescott 2020-08-12 22:45:40 -0400
committerGravatar Jason McBrayer 2020-08-13 10:24:46 -0400
commitbc450ecd927bd89295dc5bfb55cb87abe5028bad (patch)
treeb7a869c78f53d1eac8a647e8857da080fcfe1f92
parent09bd4cafe71380fb89b502f5a4b2e250062f67ac (diff)
downloadgemini.el-bc450ecd927bd89295dc5bfb55cb87abe5028bad.tar.gz
gemini.el-bc450ecd927bd89295dc5bfb55cb87abe5028bad.tar.xz
gemini.el-bc450ecd927bd89295dc5bfb55cb87abe5028bad.zip
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
-rw-r--r--gemini-mode.el3
1 files changed, 2 insertions, 1 deletions
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