Function: semantic-overlay-signal-read-only
semantic-overlay-signal-read-only is a byte-compiled function defined
in decorate.el.gz.
Signature
(semantic-overlay-signal-read-only OVERLAY AFTER START END &optional LEN)
Documentation
Hook used in modification hooks to prevent modification.
Allows deletion of the entire text. Argument OVERLAY, AFTER, START, END, and LEN are passed in by the system.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate.el.gz
(defun semantic-overlay-signal-read-only
(overlay after start end &optional _len)
"Hook used in modification hooks to prevent modification.
Allows deletion of the entire text.
Argument OVERLAY, AFTER, START, END, and LEN are passed in by the system."
;; Stolen blithely from cpp.el in Emacs 21.1
(if (and (not after)
(or (< (overlay-start overlay) start)
(> (overlay-end overlay) end)))
(error "This text is read only")))