Function: allout-new-item-widget

allout-new-item-widget is a byte-compiled function defined in allout-widgets.el.gz.

Signature

(allout-new-item-widget)

Documentation

Create a new item widget, not yet situated anywhere.

Source Code

;; Defined in /usr/src/emacs/lisp/allout-widgets.el.gz
;;;_  > allout-new-item-widget ()
(defsubst allout-new-item-widget ()
  "Create a new item widget, not yet situated anywhere."
  (if allout-widgets-maintain-tally
      ;; all the extra overhead is incurred only when doing the
      ;; maintenance, except the condition, which can't be avoided.
      (let ((widget (widget-convert 'allout-item-widget)))
        (puthash widget nil allout-widgets-tally)
        widget)
    (widget-convert 'allout-item-widget)))