[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: change soft to hard lines and back
From: |
Uwe Brauer |
Subject: |
Re: change soft to hard lines and back |
Date: |
Fri, 15 Dec 2017 11:20:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Hi Jorge,
> Hi, Uwe.
> Uwe Brauer writes:
> Probably this would work:
> #+BEGIN_SRC emacs-lisp
> (defun soften-hardlines ()
> (interactive)
> (save-excursion
> (goto-char (point-min))
> (mail-text)
> (while (search-forward hard-newline nil t)
> (replace-match "\n"))))
> #+END_SRC
It does, thanks, I did not know about search-forward hard-newline
works also nicely.
Re: change soft to hard lines and back, Jorge A. Alfaro-Murillo, 2017/12/14
- Re: change soft to hard lines and back,
Uwe Brauer <=