emacs-devel
[Top][All Lists]
Advanced

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

Re: default-truncate-lines


From: Reiner Steib
Subject: Re: default-truncate-lines
Date: Sat, 01 Mar 2008 22:15:39 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.91 (gnu/linux)

On Fri, Nov 23 2007, Stefan Monnier wrote:

>>> -(defcustom gnus-article-truncate-lines default-truncate-lines
>>> +(defcustom gnus-article-truncate-lines (default-value 'truncate-lines)
>> I don't care about this change, but out of curiosity: (why) does it
>> make a difference?
>
> Every time I see one of those default-FOO variable used I get flashes of
> the following code:
[...]
> and every time I get to replace it with a use of `default-value', I feel
> like maybe this madness will disappear some day.

Wouldn't it make sense to suggest using (default-value 'foo) in the
doc strings of `default-foo'?

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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