Function: kkp--calculate-flags-integer

kkp--calculate-flags-integer is a natively compiled function defined in kkp.el.

Signature

(kkp--calculate-flags-integer)

Documentation

Calculate the flag integer to send to the terminal to activate the enhancements.

Source Code

;; Defined in /nix/store/0igl9q4k4n87vg4h2gnnrlha21kx9biv-emacs-packages-deps/share/emacs/site-lisp/elpa/kkp-20260706.858/kkp.el
(defun kkp--calculate-flags-integer ()
  "Calculate the flag integer to send to the terminal to activate the enhancements."
  (cl-reduce (lambda (sum elt)
               (+
                sum
                (kkp--get-enhancement-bit (assoc elt kkp--progressive-enhancement-flags))))
             kkp-active-enhancements :initial-value 0))