[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit 4a1450bcc3 6/7: Respect fill-paragraph-function. F
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit 4a1450bcc3 6/7: Respect fill-paragraph-function. Fall back to lisp-fill-paragraph. |
Date: |
Sat, 9 Jul 2022 04:59:07 -0400 (EDT) |
branch: elpa/paredit
commit 4a1450bcc397ab612cc839d0fb69fce3e6aef52a
Author: Taylor R Campbell <campbell+paredit@mumble.net>
Commit: Taylor R Campbell <campbell+paredit@mumble.net>
Respect fill-paragraph-function. Fall back to lisp-fill-paragraph.
---
paredit.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/paredit.el b/paredit.el
index fd9f038b24..8b7844114d 100644
--- a/paredit.el
+++ b/paredit.el
@@ -1005,7 +1005,9 @@ If the point is in a string or a comment, fill the
paragraph instead,
(interactive "P")
(if (or (paredit-in-string-p)
(paredit-in-comment-p))
- (lisp-fill-paragraph argument)
+ (if (memq fill-paragraph-function '(t nil))
+ (lisp-fill-paragraph argument)
+ (funcall fill-paragraph-function argument))
(paredit-preserving-column
(save-excursion
(end-of-defun)
- [nongnu] elpa/paredit updated (8330a41e81 -> d0b1a2f42f), ELPA Syncer, 2022/07/09
- [nongnu] elpa/paredit 86f1f5f3dd 3/7: Stop each test on first failure or unexpected success., ELPA Syncer, 2022/07/09
- [nongnu] elpa/paredit 2ecb5f0dcf 4/7: Test some backward-slurp screw cases., ELPA Syncer, 2022/07/09
- [nongnu] elpa/paredit d0b1a2f42f 7/7: Bump copyright year., ELPA Syncer, 2022/07/09
- [nongnu] elpa/paredit 84e8ccd2ae 2/7: Add some examples of slurping edge cases that we should handle., ELPA Syncer, 2022/07/09
- [nongnu] elpa/paredit 568d4d48ef 5/7: More slurpage edge cases., ELPA Syncer, 2022/07/09
- [nongnu] elpa/paredit 4a1450bcc3 6/7: Respect fill-paragraph-function. Fall back to lisp-fill-paragraph.,
ELPA Syncer <=
- [nongnu] elpa/paredit c6300b9cbe 1/7: Batch up test failures and implement expected-failure., ELPA Syncer, 2022/07/09