Enable adaptive-fill-mode
authorAlex Schroeder <alex@gnu.org>
Wed, 30 Jun 2021 12:30:45 +0000 (14:30 +0200)
committerAlex Schroeder <alex@gnu.org>
Wed, 30 Jun 2021 13:22:23 +0000 (15:22 +0200)
When filling long list items or quotes, all lines except for the first
one should be indented by two spaces. Adaptive fill mode handles that.

elpher.el

index 867868e..967a8ce 100644 (file)
--- a/elpher.el
+++ b/elpher.el
@@ -1487,7 +1487,7 @@ width defined by `elpher-gemini-max-fill-width'."
                      (propertize text-line 'face 'elpher-gemini-quoted))
                     (t text-line))
             text-line))
-         (adaptive-fill-mode nil))
+         (adaptive-fill-mode t))
     (insert (elpher-process-text-for-display processed-text-line))
     (newline)))