emacs-devel
[Top][All Lists]
Advanced

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

byte compiling defcustom


From: Dan Nicolaescu
Subject: byte compiling defcustom
Date: Wed, 14 Nov 2007 20:54:22 -0800


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?




reply via email to

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