Andreas Röhler <address@hidden> writes:
IMHO fill-region stuff doesn't belong into at all.
Paragraph and region are independent notions - both with its own ideas
of beginning and end. Let's keep them separated.
Well, then the solution is easy for you. In your mode's map, remap
`fill-paragraph' to `your-mode-fill-paragraph' instead of defining it as
`fill-paragraph-function', e.g.,
(define-key your-mode-map [remap fill-paragraph]
#'your-mode-fill-paragraph)
Then M-q (or whatever the user has configured to be `fill-paragraph')
will call your mode-specific paragraph filling function.
Bye,
Tassilo