Function: ghostel--set-window-vscroll

ghostel--set-window-vscroll is a natively compiled function defined in ghostel.el.

Signature

(ghostel--set-window-vscroll WINDOW VSCROLL &optional PIXELS-P PRESERVE-VSCROLL-P)

Documentation

Call set-window-vscroll compatibly across Emacs versions.

Arguments will be WINDOW, VSCROLL, PIXELS-P and also PRESERVE-VSCROLL-P if supported.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel.el
(defun ghostel--set-window-vscroll (window vscroll &optional pixels-p preserve-vscroll-p)
  "Call `set-window-vscroll' compatibly across Emacs versions.
Arguments will be WINDOW, VSCROLL, PIXELS-P and also PRESERVE-VSCROLL-P if
supported."
  (if ghostel--set-window-vscroll-preserve-supported-p
      (apply #'set-window-vscroll window vscroll pixels-p
             (list preserve-vscroll-p))
    (set-window-vscroll window vscroll pixels-p)))