User customizable fill-paragraph behavior.
authorFabián Ezequiel Gallina <fgallina@cuca>
Thu, 17 May 2012 03:03:11 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Thu, 17 May 2012 03:03:11 +0000 (00:03 -0300)
commitc2cb97aec2d940c21629b7872fafc9998f673dae
tree8b25b39b005adbc39f4c205aaac5c6bcf1f6c3c9
parent0567effbae17635607455d23be90da9d02d744c7
User customizable fill-paragraph behavior.

For this, four new variables which contain the symbol name of the
function that specifies the behavior of fill-paragraph on certain
conditions were added:

    * python-fill-comment-function: For comments
    * python-fill-string-function: For strings
    * python-fill-decorator-function: For decorators
    * python-fill-paren-function: For parens

All of these variables are safe local variables in the case the value
provided is a symbol. Out of the box, they default to these four new
functions respectively:

    * python-fill-comment
    * python-fill-string
    * python-fill-decorator
    * python-fill-paren
lisp/progmodes/python.el