]> git.eshelyaron.com Git - emacs.git/commit
Prefer '(oddp A)' to '(= 1 (% A 2))'
authorStefan Kangas <stefankangas@gmail.com>
Mon, 17 Feb 2025 04:06:20 +0000 (05:06 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:50:50 +0000 (09:50 +0100)
commit06787fcc58766fa3d818ca4c9f4504b8a7cb863e
treefa259140c2cac0c033895de1b8c0e5d0c639941f
parent273ee7369f085fdb78b7a0f5ed5801285e983560
Prefer '(oddp A)' to '(= 1 (% A 2))'

* lisp/align.el (align-match-tex-pattern):
* lisp/calc/calc-funcs.el (math-bernoulli-number):
* lisp/cedet/semantic/bovine/el.el (semantic-ctxt-current-assignment):
* lisp/comint.el (comint-within-quotes):
* lisp/emacs-lisp/chart.el (chart-axis-draw):
* lisp/emacs-lisp/cl-extra.el (cl-round):
* lisp/emacs-lisp/eieio.el (defclass):
* lisp/emacs-lisp/elint.el (elint-check-setq-form):
* lisp/emulation/cua-rect.el (cua--rectangle-right-side):
* lisp/progmodes/gud.el (gud-gdb-completions-1):
* lisp/ps-print.el (ps-end-job):
* lisp/ses.el (ses-center):
* lisp/vc/ediff-ptch.el (ediff-get-patch-buffer): Prefer '(oddp A)' to
'(= 1 (% A 2))' and variations thereof.

(cherry picked from commit e373a6e0d30c28045a0f33e662933c2c2660a220)
12 files changed:
lisp/align.el
lisp/calc/calc-funcs.el
lisp/comint.el
lisp/emacs-lisp/chart.el
lisp/emacs-lisp/cl-extra.el
lisp/emacs-lisp/eieio.el
lisp/emacs-lisp/elint.el
lisp/emulation/cua-rect.el
lisp/progmodes/gud.el
lisp/ps-print.el
lisp/ses.el
lisp/vc/ediff-ptch.el