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

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

bug#27507: [PATCH] Make `cycle-spacing' allow 'negative-zero in place of


From: npostavs
Subject: bug#27507: [PATCH] Make `cycle-spacing' allow 'negative-zero in place of an integer
Date: Thu, 29 Jun 2017 21:29:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux)

Mekeor Melire <address@hidden> writes:

> * lisp/simple.el (cycle-spacing): beside accepting an integer as first
> argument N, also allow N to be 'negative-zero. This allows to delete
> all spaces including newlines with (cycle-spacing 'negative-zero).

This behaviour can't be used interactively right?  If you want a
function to delete all space including newlines, I think it's better to
add one instead of adding yet another mode to cycle-spacing which won't
even be used by interactive callers.

That is, instead of (cycle-spacing 'negative-zero) something like
(delete-whitespace).

> +  (letrec

You only need let* here, I think.





reply via email to

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