Function: toolbarx-test-toolbar-type

toolbarx-test-toolbar-type is a byte-compiled function defined in toolbar-x.el.

Signature

(toolbarx-test-toolbar-type OBJ)

Documentation

Return a cons cell (GOOD-OBJ . VAL).

GOOD-OBJ is non-nil if OBJ yields a valid toolbar property object VAL (see documentation of function toolbarx-process-symbol).

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/toolbar-x.el
(defun toolbarx-test-toolbar-type (obj)
  "Return a cons cell (GOOD-OBJ . VAL).
GOOD-OBJ is non-nil if OBJ yields a valid toolbar property object
VAL (see documentation of function `toolbarx-process-symbol')."
  (let ((toolbarx-test-toolbar-type-simple
         (lambda (obj)
           (let* ((val (toolbarx-option-value obj))
                  ;; (all-but-def-opts '(top bottom left right))
                  ;; (all-opts '(default top bottom left right))
                  ;; (good-obj t)
                  )
             (cons t val)))))
    (toolbarx-eval-function-or-symbol obj toolbarx-test-toolbar-type-simple)))