Re: Where is the variable "flavor" defined?
OHASHI Akira <email@example.com> wrote:
> Hi developers,
> I want to close Bug#140866.
> The variable "flavor" is certainly used in startup file for some
> packages. However, unfortunately I can't figure out where this
> strange variable is defined at. What's more, emacs says "Symbol's
> value as variable is void: flavor" for "M-: flavor". I can't
> understand what's going on. Could anyone give some advice for this
> stupid variable for me?
It is a bit confusing.
For example, /usr/share/emacs/21.1/lisp/startup.el runs this on Emacs
This function is found in /usr/share/emacs/site-lisp/debian-startup.el :
(defun debian-startup (flavor)
This in turn evals the various files under /etc/emacs/site-start.d/.
So 'flavor exists locally at that time, in the context of being run at
startup by debian-startup.
Since it's value is the same as as debian-emacs-flavor, which is defined
at all times, shouldn't we be using debian-emacs-flavor instead in
/etc/emacs scripts? That way they could be reloaded at a later time
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com