Function: hycontrol-invert-mode-line

hycontrol-invert-mode-line is a byte-compiled function defined in hycontrol.el.

Signature

(hycontrol-invert-mode-line)

Documentation

Invert the background and foreground faces of the selected window mode-line.

Enabled if hycontrol-invert-mode-line-flag is non-nil.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hycontrol.el
;;; Window Commands

(defun hycontrol-invert-mode-line ()
  "Invert the background and foreground faces of the selected window mode-line.
Enabled if `hycontrol-invert-mode-line-flag' is non-nil."
  (when hycontrol-invert-mode-line-flag
    (let* ((bg (face-background 'mode-line))
	   (fg (face-foreground 'mode-line)))
      (set-face-foreground 'mode-line bg)
      (set-face-background 'mode-line fg))
    (force-mode-line-update t)))