[Top][All Lists]

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

Re: [emms-help] Why are maps declared with defconst?

From: Yoni Rabkin
Subject: Re: [emms-help] Why are maps declared with defconst?
Date: Fri, 29 Dec 2017 11:22:05 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Pierre Neidhardt <address@hidden> writes:

> I wonder why maps are declared with defconst.
> It seems to create issues with Evil, such as defining bindings with a
> prefix.
> I'm not completely sure why as I haven't dug into Evil internals.
> Can we change the definition of the maps to using `defvar`?

Yes, this would be a good change. How about the style shown in the Elisp
reference manual "11.6 Tips for Defining Variables Robustly"?

   "Cut your own wood and it will warm you twice"

reply via email to

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