Function: hmouse-vertical-line-spacing

hmouse-vertical-line-spacing is a byte-compiled function defined in hmouse-drv.el.

Signature

(hmouse-vertical-line-spacing FRAME)

Documentation

Return FRAME extra vertical spacing in pixels between text lines or 0 if none.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmouse-drv.el
;; Based on code from subr.el.
(defun hmouse-vertical-line-spacing (frame)
  "Return FRAME extra vertical spacing in pixels between text lines or 0 if none."
  (let ((spacing (when (display-graphic-p frame)
                   (or (with-current-buffer (window-buffer (frame-selected-window frame))
                         line-spacing)
		       (frame-parameter frame 'line-spacing)))))
    (cond ((floatp spacing)
	   (setq spacing (truncate (* spacing (frame-char-height frame)))))
	  ((null spacing)
	   (setq spacing 0)))
    spacing))