Function: mc/make-cursor-overlay-at-point

mc/make-cursor-overlay-at-point is a natively compiled function defined in multiple-cursors-core.el.

Signature

(mc/make-cursor-overlay-at-point)

Documentation

Create overlay to look like cursor.

Special case for end of line, because overlay over a newline highlights the entire width of the window.

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/make-cursor-overlay-at-point ()
  "Create overlay to look like cursor.
Special case for end of line, because overlay over a newline
highlights the entire width of the window."
  (if (eolp)
      (mc/make-cursor-overlay-at-eol (point))
    (mc/make-cursor-overlay-inline (point))))