emacs-ess/ESS — pull request #87 by plantarum (2014-04-08 16:54:30+00:00)
Title: Modified auto-fill in noweb-code chunks to respect chunk headers.

The current verstion of ess-noweb-auto-fill-code-mode is hard-coded to set the auto-fill-function to the default do-auto-fill. This causes problems with the chunk headers. Headers cannot have line breaks, so we need to modify the fill function to respect this.

My proposed change mirrors the behaviour of ess-noweb-auto-fill-doc-chunk, which provides equivalent wrapping to do-auto-fill for that context.