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

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

Signature

(mc/make-cursor-overlay-at-eol POS)

Documentation

Create overlay to look like cursor at end of line.

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-eol (pos)
  "Create overlay to look like cursor at end of line."
  (let ((overlay (make-overlay pos pos nil nil nil)))
    (if (and mc/match-cursor-style (mc/cursor-is-bar))
  (overlay-put overlay 'before-string (propertize "|" 'face 'mc/cursor-bar-face))
      (overlay-put overlay 'after-string (propertize " " 'face 'mc/cursor-face)))
    overlay))