Function: cpp-signal-read-only

cpp-signal-read-only is a byte-compiled function defined in cpp.el.gz.

Signature

(cpp-signal-read-only OVERLAY AFTER START END &optional LEN)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/cpp.el.gz
(defun cpp-signal-read-only (overlay after start end &optional _len)
  ;; Only allow deleting the whole overlay.
  ;; Trying to change a read-only overlay.
  (if (and (not after)
	   (or (< (overlay-start overlay) start)
	       (> (overlay-end overlay) end)))
      (error "This text is read only")))