summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/comp-cstr.el
diff options
context:
space:
mode:
authorAndrea Corallo <acorallo@gnu.org>2023-11-03 18:34:05 +0100
committerAndrea Corallo <acorallo@gnu.org>2023-11-03 19:03:51 +0100
commit6218278a67b5ce87eb5e8b2c76daeb7475983d35 (patch)
tree9060b3d0be37dbf27b54bfc009c6346aee6fdffa /lisp/emacs-lisp/comp-cstr.el
parent425d23fbeaede81ab4f50b4073949cc1c8a3fbd0 (diff)
downloademacs-6218278a67b5ce87eb5e8b2c76daeb7475983d35.tar.gz
emacs-6218278a67b5ce87eb5e8b2c76daeb7475983d35.tar.bz2
emacs-6218278a67b5ce87eb5e8b2c76daeb7475983d35.zip
* lisp/emacs-lisp/comp-cstr.el (comp--direct-supertype): Remove unused.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
-rw-r--r--lisp/emacs-lisp/comp-cstr.el10
1 files changed, 0 insertions, 10 deletions
diff --git a/lisp/emacs-lisp/comp-cstr.el b/lisp/emacs-lisp/comp-cstr.el
index 70213c9b13c..e47e93cda18 100644
--- a/lisp/emacs-lisp/comp-cstr.el
+++ b/lisp/emacs-lisp/comp-cstr.el
@@ -269,16 +269,6 @@ Return them as multiple value."
(string-lessp (symbol-name x)
(symbol-name y)))
-(defun comp--direct-supertype (type) ;FIXME: There can be several!
- "Return the direct supertype of TYPE."
- (declare (obsolete comp--direct-supertype "30.1"))
- (cl-loop
- named outer
- for i in (comp-cstr-ctxt-typeof-types comp-ctxt)
- do (cl-loop for (j y) on i
- when (eq j type)
- do (cl-return-from outer y))))
-
(defun comp--direct-supertypes (type)
"Return the direct supertypes of TYPE."
(let ((supers (comp-supertypes type)))