mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
5ce746c3b0
commit
e373a6e0d3
13 changed files with 13 additions and 13 deletions
|
|
@ -1076,7 +1076,7 @@ current position."
|
|||
(while (and (> pos (point-min))
|
||||
(eq (char-before pos) ?\\))
|
||||
(setq count (1+ count) pos (1- pos)))
|
||||
(eq (mod count 2) 1))
|
||||
(oddp count))
|
||||
(goto-char (match-beginning (if reverse 1 2)))))
|
||||
result))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue