Function: ghostel--cell-pixel-scale
ghostel--cell-pixel-scale is a natively compiled function defined in
ghostel.el.
Signature
(ghostel--cell-pixel-scale)
Documentation
Return the active cell pixel-size scaling factor as a positive number.
May be a float - callers are expected to round when converting to a pixel count.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
;;; Window resize
(defun ghostel--cell-pixel-scale ()
"Return the active cell pixel-size scaling factor as a positive number.
May be a float - callers are expected to round when converting to a
pixel count."
(cond
((numberp ghostel-cell-pixel-scale)
(max 1 ghostel-cell-pixel-scale))
(t (or (ghostel--detect-cell-pixel-scale) 1))))