diff options
author | Philipp Stephani <phst@google.com> | 2018-01-28 20:39:58 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2018-01-28 20:39:58 +0100 |
commit | 614e9b322ec08cf6549cd4db34e1dc75149e6b31 (patch) | |
tree | 8cd57c85e2fb92024b4d775621f9d630a8ff9b29 /lisp/emacs-lisp/cl-preloaded.el | |
parent | d0733704b3dfae0f9487b0d1d8814b6ac8081981 (diff) | |
download | emacs-614e9b322ec08cf6549cd4db34e1dc75149e6b31.tar.gz |
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.
Diffstat (limited to 'lisp/emacs-lisp/cl-preloaded.el')
-rw-r--r-- | lisp/emacs-lisp/cl-preloaded.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el index 364de031334..2a70f9b9248 100644 --- a/lisp/emacs-lisp/cl-preloaded.el +++ b/lisp/emacs-lisp/cl-preloaded.el @@ -60,12 +60,14 @@ (marker number-or-marker atom) (overlay atom) (float number atom) (window-configuration atom) (process atom) (window atom) (subr atom) (compiled-function function atom) + (module-function function atom) (buffer atom) (char-table array sequence atom) (bool-vector array sequence atom) (frame atom) (hash-table atom) (terminal atom) (thread atom) (mutex atom) (condvar atom) (font-spec atom) (font-entity atom) (font-object atom) (vector array sequence atom) + (user-ptr atom) ;; Plus, really hand made: (null symbol list sequence atom)) "Alist of supertypes. |