hvesalai / emacs-scala-mode

The definitive scala-mode for emacs
http://ensime.org
GNU General Public License v3.0
361 stars 68 forks source link

fill-paragraph does not respect the prefix arg #125

Closed jeberger closed 7 years ago

jeberger commented 7 years ago

When given a prefix argument, fill-paragraph should justify the paragraph instead of simply wrapping it. Currently it ignores the prefix argument.

This can be fixed by replacing the two calls to (fill-paragraph) with (apply #'fill-paragraph args) inside scala-paragraph:fill-paragraph.

fommil commented 7 years ago

could you please send that as a PR?