[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete-trailing-whitespace behavior change?
From: |
Javier |
Subject: |
Re: delete-trailing-whitespace behavior change? |
Date: |
Wed, 12 Dec 2018 21:26:53 +0000 (UTC) |
User-agent: |
tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) |
Loris Bennett <loris.bennett@fu-berlin.de> wrote:
> I have this setting too and my Emacs 25.1.1 deletes all empty newlines
> at the end of a file, which it is what it says on the tin:
>
> If this command acts on the entire buffer (i.e. if called
> interactively with the mark inactive, or called from Lisp with END
> nil), it also deletes all trailing lines at the end of the buffer if
> the variable ‘delete-trailing-lines’ is non-nil.
>
> The 24.5.1 tins say the same thing.
The option delete-trailing-lines appeared in version 24.3.
So there may be a change of behaviour between 24.1, 24.2 and 25.x
>From /usr/share/emacs/*/etc/NEWS*
* Editing Changes in Emacs 24.3
** New option `delete-trailing-lines' specifies whether
M-x delete-trailing-whitespace should delete trailing lines at the end
of the buffer. It defaults to t.