[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warning compiling obarray.el on master
From: |
Lars Ingebrigtsen |
Subject: |
Re: Warning compiling obarray.el on master |
Date: |
Sat, 18 Mar 2017 14:47:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
>> In the longer term, maybe we should rename `obarray` to something more
>> descriptive and less likely to collide with a local var.
>> Maybe `default-obarray` or `global-obarray` or
>> `global-identifier-obarray`?
>
> Perhaps, but the danger of clashing names doesn't go away with these
> measures, it just gets lower.
And not using the optional OBARRAY parameter in `intern' was marked as
obsolete a few years ago. I think that was a mistake, but changing all
the code that says (intern "foo" obarray) now to
(intern "foo" global-identifier-obarray) wouldn't be, er, optimal, either.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no