summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2021-05-24 16:38:15 +0200
committerLeah Neukirchen <leah@vuxu.org>2021-05-24 16:38:15 +0200
commitee3193ab2b9e0ff743ff0f8ef16afe948f62cfe8 (patch)
treef0320bf0065a8f458a1312512d15ed3804d88378
parent3bc876a51a57e6fa4c0462b7035880079038b548 (diff)
downloadmoar-ee3193ab2b9e0ff743ff0f8ef16afe948f62cfe8.tar.gz
moar-ee3193ab2b9e0ff743ff0f8ef16afe948f62cfe8.tar.xz
moar-ee3193ab2b9e0ff743ff0f8ef16afe948f62cfe8.zip
set font-lock-multiline
This fixes at least the case where you edit the title line.

More detail at https://stackoverflow.com/q/9452615
-rw-r--r--moar.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/moar.el b/moar.el
index cc180ff..21a9a78 100644
--- a/moar.el
+++ b/moar.el
@@ -193,6 +193,7 @@
   (add-to-list 'font-lock-extra-managed-props 'display)
   (font-lock-add-keywords nil
                           '(("^\\(\C-l\\)\n" 1 '(face nil display "∇"))))
+  (set (make-local-variable 'font-lock-multiline) t)
   (font-lock-mode 1)
   (when (fboundp 'orgalist-mode)
     (orgalist-mode 1)))