]> git.eshelyaron.com Git - emacs.git/commit
Prefer oddp/evenp to open-coding in a few more cases
authorStefan Kangas <stefankangas@gmail.com>
Mon, 17 Feb 2025 22:00:54 +0000 (23:00 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:58:35 +0000 (09:58 +0100)
commitaeab411ac5e62ba50124839cb5735a12e14856f4
tree28f144858015e9957062ce54eefaf7120293e16c
parent67c79a77670ef8dcc72a2f2233e7cc1fa769fd30
Prefer oddp/evenp to open-coding in a few more cases

* lisp/arc-mode.el (archive-zip-summarize):
* lisp/cus-edit.el (setopt):
* lisp/isearch.el (isearch-backslash):
* lisp/simple.el (blink-paren-post-self-insert-function):
* lisp/subr.el (setq-local, buffer-local-set-state):
* lisp/term.el (term-within-quotes):
* test/src/data-tests.el (test-bool-vector-bv-from-hex-string): Use
oddp/evenp instead of open-coding them.
Reported by Pip Cet <pipcet@protonmail.com>.

(cherry picked from commit 515542b653c438014eda844eacc96cf23cfaaa2d)
lisp/arc-mode.el
lisp/cus-edit.el
lisp/isearch.el
lisp/simple.el
lisp/subr.el
lisp/term.el
test/src/data-tests.el