[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 8163e0b20c9: Improve 'refill-mode' in Org buffers
From: |
Arash Esbati |
Subject: |
Re: master 8163e0b20c9: Improve 'refill-mode' in Org buffers |
Date: |
Sat, 27 Jan 2024 10:32:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
> branch: master
> commit 8163e0b20c97a8394225a7165a8ab361af09ec29
> Author: Eli Zaretskii <eliz@gnu.org>
> Commit: Eli Zaretskii <eliz@gnu.org>
>
> Improve 'refill-mode' in Org buffers
>
> * lisp/textmodes/refill.el (refill-fill-paragraph-at): Use
> 'fill-forward-paragraph' instead of 'forward/backward-paragraph',
> so that modes could customize the behavior. (Bug#68418)
> ---
> lisp/textmodes/refill.el | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/textmodes/refill.el b/lisp/textmodes/refill.el
> index bb6b6ebda0f..244c96b60df 100644
> --- a/lisp/textmodes/refill.el
> +++ b/lisp/textmodes/refill.el
> @@ -106,10 +106,10 @@ This is used to optimize refilling.")
> ;; FIXME: forward-paragraph seems to disregard `use-hard-newlines',
> ;; leading to excessive refilling and wrong choice of fill-prefix.
> ;; might be a bug in my paragraphs.el.
> - (forward-paragraph)
> + (fill-forward-paragraph)
The compiler says:
In refill-fill-paragraph-at:
textmodes/refill.el:109:6: Warning: ‘fill-forward-paragraph’ called
with 0 arguments, but requires 1
Best, Arash
- Re: master 8163e0b20c9: Improve 'refill-mode' in Org buffers,
Arash Esbati <=