Function: mc/temporarily-disable-minor-mode

mc/temporarily-disable-minor-mode is a natively compiled function defined in multiple-cursors-core.el.

Signature

(mc/temporarily-disable-minor-mode MODE)

Documentation

If MODE is available and turned on, remember that and turn it off.

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/multiple-cursors-core.el
(defun mc/temporarily-disable-minor-mode (mode)
  "If MODE is available and turned on, remember that and turn it off."
  (when (and (boundp mode) (symbol-value mode))
    (add-to-list 'mc/temporarily-disabled-minor-modes mode)
    (funcall mode -1)))