Function: custom-theme-name-valid-p

custom-theme-name-valid-p is a byte-compiled function defined in custom.el.gz.

Signature

(custom-theme-name-valid-p NAME)

Documentation

Return t if NAME is a valid name for a Custom theme, nil otherwise.

NAME should be a symbol.

Source Code

;; Defined in /usr/src/emacs/lisp/custom.el.gz
(defun custom-theme-name-valid-p (name)
  "Return t if NAME is a valid name for a Custom theme, nil otherwise.
NAME should be a symbol."
  (and (not (memq name '(nil user changed)))
       (symbolp name)
       (not (string= "" (symbol-name name)))))