Function: hycontrol-frame-resize-arg

hycontrol-frame-resize-arg is a byte-compiled function defined in hycontrol.el.

Signature

(hycontrol-frame-resize-arg ARG)

Documentation

Inverse result of hycontrol-frame-resize-percentage.

This is to provide feedback on any argument value adjustment.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hycontrol.el
(defun hycontrol-frame-resize-arg (arg)
  "Inverse result of `hycontrol-frame-resize-percentage'.
This is to provide feedback on any argument value adjustment."
  (pcase arg
    (0 0)
    (1 1)
    (50 1)
    ;; Arg must be a percentage, scale it so not fractional.
    ((pred numberp) (round (* arg 100)))
    (_ 1)))