help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to get all paragraphs in list?


From: Jean Louis
Subject: Re: How to get all paragraphs in list?
Date: Fri, 16 Sep 2022 17:18:51 +0300
User-agent: Mutt/+ () (2022-06-11)

* Emanuel Berg <incal@dataswamp.org> [2022-09-16 16:19]:
> Jean Louis wrote:
> 
> > I am adopting the two ideas and now I have this:
> >
> > (defun join-lines ()
> >   "Joins lines of a paragraph."
> >   (interactive)
> >   (let ((fill-column (point-max)))
> >     (fill-paragraph nil)))
> 
> Adopt the third idea as well and remove that last nil ...
> actually it is the only one.

Thanks sharp eye. I have improved it now.

(defun join-lines ()
  "Joins lines of a paragraph."
  (interactive)
  (let ((fill-column (point-max)))
    (fill-paragraph)))


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

In support of Richard M. Stallman
https://stallmansupport.org/



reply via email to

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