unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 38365@debbugs.gnu.org, Xu Chunyang <xuchunyang56@gmail.com>
Subject: bug#38365: 26.3; The info doc of eieio-class-name is outdated and its value looks incorrect
Date: Wed, 27 Nov 2019 14:57:03 +0100	[thread overview]
Message-ID: <875zj5e828.fsf@gnus.org> (raw)
In-Reply-To: <jwveextpgx3.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Wed, 27 Nov 2019 08:52:33 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> It returns its argument only if its argument was a class name.
> It's more useful when its argument is a class object (or when you don't
> know which of the two it will be).

Oh, class object, not object.  Never mind.  :-)

(eieio-class-name (eieio--class-object 'my-class))
=> my-class

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      parent reply	other threads:[~2019-11-27 13:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-24 15:11 bug#38365: 26.3; The info doc of eieio-class-name is outdated and its value looks incorrect Xu Chunyang
2019-11-25 17:08 ` bug#38374: " Xu Chunyang
2019-11-26  1:34 ` bug#38365: " Lars Ingebrigtsen
2019-11-26 20:44   ` Stefan Monnier
2019-11-27 12:13     ` Lars Ingebrigtsen
2019-11-27 13:52       ` Stefan Monnier
2019-11-27 13:55         ` Lars Ingebrigtsen
2019-11-27 13:57         ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875zj5e828.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=38365@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=xuchunyang56@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).