]> git.eshelyaron.com Git - emacs.git/commit
Prefer '(oddp A)' to '(= 1 (logand A 1))'
authorStefan Kangas <stefankangas@gmail.com>
Mon, 17 Feb 2025 18:33:56 +0000 (19:33 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 18 Feb 2025 08:53:49 +0000 (09:53 +0100)
commit414a0b26e10bf2a8c021fd2b3c42fea9afd94beb
tree1f3ca20bd27e25bd2c67e8c069300848b70a523e
parent3bacba4666eb83cce0b5d260a5719ef26c20580e
Prefer '(oddp A)' to '(= 1 (logand A 1))'

* lisp/calendar/todo-mode.el (todo-padded-string):
* lisp/emacs-lisp/gv.el (setf):
* lisp/emacs-lisp/macroexp.el (macroexp--expand-all):
* lisp/hexl.el (hexl-insert-hex-string):
* lisp/play/gamegrid.el (gamegrid-xbm):
* lisp/play/hanoi.el (hanoi-internal):
* lisp/progmodes/ebnf2ps.el (ebnf-end-of-string):
* lisp/progmodes/elisp-mode.el (elisp--highlight-function-argument):
* lisp/progmodes/ruby-mode.el (ruby-backward-sexp):
* lisp/ps-print.el (ps-print-page-p):
(ps-print-sheet-p): Prefer '(oddp A)' to '(= 1 (logand A 1))' and
variations thereof.

(cherry picked from commit fd5dbea21b8982cff8d3ae774b0e68c077a4ec89)
lisp/play/gamegrid.el
lisp/play/hanoi.el
lisp/progmodes/ebnf2ps.el
lisp/progmodes/elisp-mode.el
lisp/progmodes/ruby-mode.el
lisp/ps-print.el