(defvar elpher-user-coding-system nil
"User-specified coding system to use for decoding text responses.")
+(defvar elpher-fill-paragraph nil
+ "Whether to fill text paragraphs using `fill-paragraph`.")
+
(defun elpher-decode (string)
"Decode STRING using autodetected or user-specified coding system."
(decode-coding-string string
(replace-regexp-in-string "[>\*]" " " (match-string 0 text-line))
nil)))
(insert (elpher-process-text-for-display processed-text-line))
+ (when elpher-fill-paragraph
+ (save-restriction
+ (narrow-to-region (line-beginning-position) (line-end-position))
+ (fill-paragraph)))
(newline)))
(defun elpher-render-gemini-map (data _parameters)