Improve filling
commit11f119776a3514b3cbc95913f016f6338ae334c9
authorNicolas Goaziou <n.goaziou@gmail.com>
Tue, 28 Aug 2012 11:12:09 +0000 (28 13:12 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Tue, 28 Aug 2012 11:12:09 +0000 (28 13:12 +0200)
treee8cfe21de79215f28005d90de8a223c08a1330d2
parent55909726488b75abae92adb9b6f38d278eca71fa
Improve filling

* lisp/org.el (org-fill-paragraph): Refine filling in comments and in
  paragraphs.  Allow commented blank lines.  Take into consideration
  the indentation of the second line of the paragraph being filled.
(org-comment-or-uncomment-region): Rewrite function.  Now comment
region at a fixed column: the minimal indentation of the region.
(org-fill-context-prefix): Rename function into
`org-adaptive-fill-function'. Also, In a paragraph, choose the same
prefix as the current line.
lisp/org.el