* byte compiling defalias
@ 2009-10-26 1:27 Dan Nicolaescu
2009-10-26 21:17 ` Stefan Monnier
0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2009-10-26 1:27 UTC (permalink / raw)
To: emacs-devel
(defalias 'read-file-name-internal
(completion-table-in-turn 'completion--embedded-envvar-table
'completion--file-name-table)
"Internal subroutine for `read-file-name'. Do not call this.")
is byte compiled to:
(byte-code "\300\301\302\303\304\"\305#\207" [defalias read-file-name-internal completion-table-in-turn completion--embedded-envvar-table completion--file-name-table "Internal subroutine for `read-file-name'. Do not call this."] 5)
Shouldn't it be compiled to a defalias?
That way make-docstring would have a chance to extract the doc string,
so it won't end up in GC memory.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: byte compiling defalias
2009-10-26 1:27 byte compiling defalias Dan Nicolaescu
@ 2009-10-26 21:17 ` Stefan Monnier
2009-11-06 16:53 ` Dan Nicolaescu
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2009-10-26 21:17 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-devel
> Shouldn't it be compiled to a defalias?
Can't think of any reason not to.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: byte compiling defalias
2009-10-26 21:17 ` Stefan Monnier
@ 2009-11-06 16:53 ` Dan Nicolaescu
0 siblings, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2009-11-06 16:53 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
> > Shouldn't it be compiled to a defalias?
>
> Can't think of any reason not to.
I filed a bug, it's not obvious how to do this. I've made defvaralias
be byte compiled.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-11-06 16:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26 1:27 byte compiling defalias Dan Nicolaescu
2009-10-26 21:17 ` Stefan Monnier
2009-11-06 16:53 ` Dan Nicolaescu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.