emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/scala-mode 2e8fd35 180/217: Fix for fill-paragraph with pr


From: ELPA Syncer
Subject: [nongnu] elpa/scala-mode 2e8fd35 180/217: Fix for fill-paragraph with prefix arg. Fixes #125. (#126)
Date: Sun, 29 Aug 2021 11:31:08 -0400 (EDT)

branch: elpa/scala-mode
commit 2e8fd35ce502296fb830382f07118bcf6f290b22
Author: jeberger <jeberger@free.fr>
Commit: Sam Halliday <sam.halliday@gmail.com>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]