home buffer: framed notes: allow for numbered and dotted lists

enumeration lists of the form:

 - lorem ipsum
 * lorem ipsum
 + lorem ipsum
 1. lorem ipsum
 2) lorem ipsum

will be treated as separate paragraphes and not be squished by
fill-region anymore.
This commit is contained in:
deb0ch 2016-11-05 01:10:15 +01:00 committed by syl20bnr
parent 67c5b2cb01
commit bb5fdd8eaa
1 changed files with 1 additions and 0 deletions

View File

@ -296,6 +296,7 @@ MIN-WIDTH is the minimal width of the frame, frame included. The frame will not
(width (+ 2 (* 2 hpadding) text-width))
(fill-column text-width)
(sentence-end-double-space nil) ; needed by fill-region
(paragraph-start "\f\\|[ \t]*$\\|[ \t]*[-+*] \\|[ \t]*[0-9]+[.)] ")
(topcaption-length (if topcaption (length topcaption) 0))
(botcaption-length (if botcaption (length botcaption) 0)))
(setq max-width (or max-width width)