unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* byte compiling defcustom
@ 2007-11-15  4:54 Dan Nicolaescu
  2007-11-16  4:28 ` Richard Stallman
  0 siblings, 1 reply; 44+ messages in thread
From: Dan Nicolaescu @ 2007-11-15  4:54 UTC (permalink / raw)
  To: emacs-devel



These 2 forms:

(defvar foo     (if (featurep 'xemacs) 'bar 'baz) "doc")
(defcustom foo1 (if (featurep 'xemacs) 'bar 'baz) "doc")


Are compiled to:

(defvar foo 'baz (#$ . 543))
(custom-declare-variable 'foo1 '(if (featurep 'xemacs) 'bar 'baz) '(#$ . 581))


Wouldn't it be better if the value of `foo1' was also optimized at
compile time?

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2007-11-20 12:12 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-15  4:54 byte compiling defcustom Dan Nicolaescu
2007-11-16  4:28 ` Richard Stallman
2007-11-16 15:25   ` Stefan Monnier
2007-11-17  4:53     ` Richard Stallman
2007-11-18  4:07       ` Stefan Monnier
2007-11-17  4:53     ` Richard Stallman
2007-11-17  5:40     ` Dan Nicolaescu
2007-11-17 16:47     ` Luc Teirlinck
2007-11-17 19:06       ` Dan Nicolaescu
2007-11-17 19:51         ` Luc Teirlinck
2007-11-17 20:05         ` Luc Teirlinck
2007-11-18 13:00         ` Richard Stallman
2007-11-18 18:24           ` disappearing custom menu (was: Re: byte compiling defcustom) Dan Nicolaescu
2007-11-18 18:42             ` Drew Adams
2007-11-18 18:47             ` disappearing custom menu Lennart Borgman (gmail)
2007-11-18 19:20             ` martin rudalics
2007-11-18 19:33               ` Dan Nicolaescu
2007-11-18 19:44                 ` martin rudalics
2007-11-18 23:41                   ` Dan Nicolaescu
2007-11-19  7:58                     ` martin rudalics
2007-11-19 12:25                 ` Richard Stallman
2007-11-19 13:08                   ` martin rudalics
2007-11-19 15:28                   ` Drew Adams
2007-11-18 19:57               ` Drew Adams
2007-11-18 22:23                 ` martin rudalics
2007-11-17 19:55       ` byte compiling defcustom Luc Teirlinck
2007-11-17 20:32       ` Luc Teirlinck
2007-11-17 20:41         ` Luc Teirlinck
2007-11-18  4:13           ` Luc Teirlinck
2007-11-18  4:32             ` Stefan Monnier
2007-11-18  5:11               ` Luc Teirlinck
2007-11-18 18:04             ` Dan Nicolaescu
2007-11-18 18:41               ` Luc Teirlinck
2007-11-18 23:29                 ` Dan Nicolaescu
2007-11-19  7:55                   ` Stefan Monnier
2007-11-19 19:03                     ` Richard Stallman
2007-11-19 20:44                       ` Luc Teirlinck
2007-11-20 12:12                         ` Richard Stallman
2007-11-19 20:48                       ` Luc Teirlinck
2007-11-19 19:03                   ` Richard Stallman
2007-11-19 12:25               ` Richard Stallman
2007-11-19 15:48                 ` Dan Nicolaescu
2007-11-20  3:59                   ` Richard Stallman
2007-11-17 23:31       ` Richard Stallman

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).