]> code.delx.au - gnu-emacs-elpa/commitdiff
Add TODO
authorArtur Malabarba <bruce.connor.am@gmail.com>
Mon, 18 Apr 2016 06:26:29 +0000 (03:26 -0300)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Mon, 18 Apr 2016 06:26:29 +0000 (03:26 -0300)
validate.el

index ef628e954fc9d6ba8090c33c4650e49f3ab8296a..0482be3486cf8224330724aff29f13de410fe398 100644 (file)
@@ -21,7 +21,7 @@
 ;; along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 ;;; Commentary:
-
+;;
 ;; This library offers two functions that perform schema validation.
 ;; Use this is your Elisp packages to provide very informative error
 ;; messages when your users accidentally misconfigure a variable.
 ;; custom variable matches its custom-type, while `validate-value' checks an
 ;; arbitrary value against an arbitrary schema.
 
+;;; Todo:
+;;
+;; :inline, `plist',`coding-system',`color',`hook',`restricted-sexp'.
+
 ;;; Code:
 (require 'cl-lib)
 (require 'seq)
@@ -68,7 +72,7 @@ If they don't match, return an explanation."
     (setq args (or (plist-get props :args)
                    args))
     (let ((r
-           (cl-labels ((wtype ;wrong-type
+           (cl-labels ((wtype           ;wrong-type
                         (tt) (unless (funcall (intern (format "%sp" tt)) value)
                                (format "not a %s" tt))))
              ;; TODO: hook (top-level only).