Function: widget--allow-insertion

widget--allow-insertion is a macro defined in wid-edit.el.gz.

Signature

(widget--allow-insertion &rest FORMS)

Documentation

Run FORMS such that they can insert widgets in the current buffer.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defmacro widget--allow-insertion (&rest forms)
  "Run FORMS such that they can insert widgets in the current buffer."
  (declare (debug t))
  `(let ((inhibit-read-only t)
	 (inhibit-modification-hooks t)) ;; FIXME: Why?  This is risky!
     ,@forms))