Function: erc-make-read-only
erc-make-read-only is a byte-compiled function defined in
erc-goodies.el.gz.
Signature
(erc-make-read-only)
Documentation
Make all the text in the current buffer read-only.
Put this function on erc-insert-post-hook and/or erc-send-post-hook.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-goodies.el.gz
(defun erc-make-read-only ()
"Make all the text in the current buffer read-only.
Put this function on `erc-insert-post-hook' and/or `erc-send-post-hook'."
(put-text-property (point-min) (point-max) 'read-only t)
(put-text-property (point-min) (point-max) 'front-sticky t)
(put-text-property (point-min) (point-max) 'rear-nonsticky t))