branch: elpa/scala-mode
commit 2e8fd35ce502296fb830382f07118bcf6f290b22
Author: jeberger <[email protected]>
Commit: Sam Halliday <[email protected]>
Fix for fill-paragraph with prefix arg. Fixes #125. (#126)
---
scala-mode-paragraph.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scala-mode-paragraph.el b/scala-mode-paragraph.el
index 9713b2d..06fc7b2 100644
--- a/scala-mode-paragraph.el
+++ b/scala-mode-paragraph.el
@@ -87,7 +87,7 @@
(if (forward-comment 1)
(point)
(point-max))))
- (fill-paragraph))
+ (apply #'fill-paragraph args))
t)
((eq (nth 4 state) t)
;; line comment, let normal fill-function handle this
@@ -101,7 +101,7 @@
(forward-sexp)
(point))
(point-max))))
- (fill-paragraph))
+ (apply #'fill-paragraph args))
t)
;; TODO: fill lists
;; the rest should not be filled (code, etc)