emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Towards a cleaner build: eieio


From: Stefan Monnier
Subject: Re: Towards a cleaner build: eieio
Date: Thu, 13 Jun 2019 12:13:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> (cl-defmethod cl-print-object ((object eieio-default-superclass) stream)
>   "Default printer for EIEIO objects."
>   ;; Fallback to the old `object-print'.
>   (princ (object-print object) stream))

This is backward compatibility for those packages that define an
`object-print` method on their own eieio classes (instead of a method
on cl-print-object).


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]