Add missing module types to cl--typeof-types.
commit614e9b322ec08cf6549cd4db34e1dc75149e6b31
authorPhilipp Stephani <phst@google.com>
Sun, 28 Jan 2018 19:39:58 +0000 (28 20:39 +0100)
committerPhilipp Stephani <phst@google.com>
Sun, 28 Jan 2018 19:39:58 +0000 (28 20:39 +0100)
tree8cd57c85e2fb92024b4d775621f9d630a8ff9b29
parentd0733704b3dfae0f9487b0d1d8814b6ac8081981
Add missing module types to cl--typeof-types.

* lisp/emacs-lisp/cl-preloaded.el (cl--typeof-types): Add module
types.

* test/src/emacs-module-tests.el (emacs-module-tests--generic): New
helper function.
(module-function-object, mod-test-userptr-fun-test): Test that type
dispatching works with module types.
lisp/emacs-lisp/cl-preloaded.el
test/src/emacs-module-tests.el