Subject: bug#11686: 24.1.50; defun should return name

From: Stefan Monnier <[email-masked]>
Date: Wed, 13 Jun 2012 08:27:08 -0400

> Here's a patch, think this is right:

> Return NAME, not definition from defun and defmacro

> * lisp/emacs-lisp/byte-run.el (defun, defmacro): Return newly created
> definition's name, not its definition.

I wonder what is the impact on the generated byte-code.

Maybe a simpler way is to change defalias to return the name rather than
the value.

        Stefan