emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master 1fcc552: lisp/gnus/registry.el (registry-prune)


From: Ted Zlatanov
Subject: Re: [Emacs-diffs] master 1fcc552: lisp/gnus/registry.el (registry-prune): Allow registry to reach full size before pruning
Date: Sat, 18 Apr 2015 06:51:30 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

On Fri, 20 Mar 2015 10:35:59 -0400 Stefan Monnier <address@hidden> wrote: 

>> +    (if (> size (oref db :max-size))
SM> Why do people use the :initarg rather than the slot name?

SM>    (oref db max-size)

SM> works as well (actually better: it's implemented more efficiently).

I used it because I found it in a manual.  But I can't recall which
manual and when, it's been a while.  AND IT WORKED DAMMIT! :)

If initargs are to be avoided, maybe a compilation warning there would
be appropriate?[1]

Ted

[1] this is where you tell me one has been in place since 1992 :)




reply via email to

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