emacs-devel
[Top][All Lists]
Advanced

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

Re: doc elisp intro cross reference fixes


From: Kevin Rodgers
Subject: Re: doc elisp intro cross reference fixes
Date: Thu, 20 Nov 2003 13:33:55 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

David Kastrup wrote:

If set-variable does not tend to consult the "customize" data
structures in other circumstances, it would be unexpected if it did
in this case.


But it already does, via user-variable-p (when called interactively), which
used to restrict the user to *-documented symbols but now also allows symbols
with custom properties.  (Stefan thinks that's an improvement, but I think
custom variables should still have been required to have * doc strings.)

I do seem to remember, though, that set-variable
declined setting a variable to values opposed to any possibly
customize declaration.


Yep, set-variable does use the symbol's custom-type property.

So perhaps making set-variable do pretty much
the "set for current session" operation procedure of customize would
be sensible behavior.

That does not imply that the current behavior would be a bug, simply
that it might make sense to change it (along with its documentation).


Why not just (defalias 'set-variable 'customize-variable) and be done with it?


--
Kevin Rodgers






reply via email to

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