Variable: region-insert-function

region-insert-function is a variable defined in simple.el.gz.

Value

#[128 "\304\300\301#\207"
      [cua--rectangle-region-insert
       #[128 "\304\300\301#\207"
	     [rectangle--insert-region
	      #[257
		"\300\205�\211\204\f�\301c\210\302@!\266A\303\202�\207"
		[t 10 insert-for-yank nil] 4 ("simple.elc" . 50653)]
	      :around nil apply]
	     5 advice]
       :around nil apply]
      5 advice]

Documentation

Function to insert the region's content.

Called with one argument LINES. Insert the region as a list of lines.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defvar region-insert-function
  (lambda (lines)
    (let ((first t))
      (while lines
        (or first
            (insert ?\n))
        (insert-for-yank (car lines))
        (setq lines (cdr lines)
              first nil))))
  "Function to insert the region's content.
Called with one argument LINES.
Insert the region as a list of lines.")