Function: windmove-constrain-to-range

windmove-constrain-to-range is a byte-compiled function defined in windmove.el.gz.

This function is obsolete since 27.1; no longer used.

Signature

(windmove-constrain-to-range N MIN-N MAX-N)

Documentation

Ensure that N is between MIN-N and MAX-N inclusive by constraining.

If N is less than MIN-N, return MIN-N; if greater than MAX-N, return MAX-N.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/windmove.el.gz
(defun windmove-constrain-to-range (n min-n max-n)
  "Ensure that N is between MIN-N and MAX-N inclusive by constraining.
If N is less than MIN-N, return MIN-N; if greater than MAX-N, return
MAX-N."
  (declare (obsolete "no longer used." "27.1"))
  (max min-n (min n max-n)))