lisp/emacs-lisp/cl-macs.el (cl-typep): Undo accidental change
This commit is contained in:
@@ -3626,11 +3626,11 @@ Of course, we really can't know that for sure, so it's just a heuristic."
|
||||
(let* ((name (symbol-name type))
|
||||
(namep (intern (concat name "p"))))
|
||||
(cond
|
||||
;; ((cl--macroexp-fboundp namep) (inline-quote (funcall #',namep ,val)))
|
||||
;; ((cl--macroexp-fboundp
|
||||
;; (setq namep (intern (concat name "-p"))))
|
||||
;; (inline-quote (funcall #',namep ,val)))
|
||||
;; ((cl--macroexp-fboundp type) (inline-quote (funcall #',type ,val)))
|
||||
((cl--macroexp-fboundp namep) (inline-quote (funcall #',namep ,val)))
|
||||
((cl--macroexp-fboundp
|
||||
(setq namep (intern (concat name "-p"))))
|
||||
(inline-quote (funcall #',namep ,val)))
|
||||
((cl--macroexp-fboundp type) (inline-quote (funcall #',type ,val)))
|
||||
(t (error "Unknown type %S" type))))
|
||||
nil nil type))
|
||||
(type (error "Bad type spec: %S" type)))))
|
||||
|
||||
Reference in New Issue
Block a user