[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [External] : Re: [PATCH] Make rectangle-select able to skip lines(em
From: |
Drew Adams |
Subject: |
RE: [External] : Re: [PATCH] Make rectangle-select able to skip lines(empty one, for example) |
Date: |
Tue, 31 Jan 2023 16:18:46 +0000 |
> Treat lines with whitespaces only as 'empty'.
>
>(defvar *rectangle-skip-lines* nil
> "If `t' -- skip empty lines, if `function' -- skip line when it returns `nil'.
>The function gets all arguments of `apply-on-rectangle' as input.")
My opinion doesn't matter, but in case it helps:
1. Lose the *...* earmuffs. Elisp doesn't
embrace that CL convention for defvars.
2. The var's doc should say what it means by
"skip". Apparently it means (only) that
function `apply-on-rectangle' doesn't apply
its FUNCTION arg to empty lines. I think it's
important to say that the var affects (only)
that function's behavior.