Function: combobulate--mc-enable

combobulate--mc-enable is a natively compiled function defined in combobulate-cursor.el.

Signature

(combobulate--mc-enable)

Documentation

Enable multiple cursors.

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-cursor.el
(defun combobulate--mc-enable ()
  "Enable multiple cursors."
  ;; abysmal MC hack to prevent MC from triggering on the damned
  ;; command that started the whole thing.
  (dolist (ignored-command '(combobulate-cursor-edit-sequence-dwim
                             combobulate-cursor-edit-node-type-dwim
                             combobulate-cursor-edit-node-siblings-dwim
                             combobulate-cursor-edit-node-by-text-dwim
                             combobulate-query-builder-edit-nodes
                             combobulate-cursor-edit-query))
    (add-to-list 'mc--default-cmds-to-run-once ignored-command))
  (mc/maybe-multiple-cursors-mode))