all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Outdated comment in lisp.h
@ 2011-10-28 11:01 Eli Zaretskii
  2011-10-28 13:49 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2011-10-28 11:01 UTC (permalink / raw)
  To: emacs-devel

This comment:

  /* Value of the symbol or Qunbound if unbound.  If this symbol is a
     defvaralias, `alias' contains the symbol for which it is an
     alias.  Use the SYMBOL_VALUE and SET_SYMBOL_VALUE macros to get
     and set a symbol's value, to take defvaralias into account.  */

is false in its last sentence, since the macros it refers to no longer
exist.  It's not clear to me whether replacements exist; someone who
is "in the know" please fix the comment as appropriate.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Outdated comment in lisp.h
  2011-10-28 11:01 Outdated comment in lisp.h Eli Zaretskii
@ 2011-10-28 13:49 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2011-10-28 13:49 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

> This comment:
>   /* Value of the symbol or Qunbound if unbound.  If this symbol is a
>      defvaralias, `alias' contains the symbol for which it is an
>      alias.  Use the SYMBOL_VALUE and SET_SYMBOL_VALUE macros to get
>      and set a symbol's value, to take defvaralias into account.  */

> is false in its last sentence, since the macros it refers to no longer
> exist.

Indeed, thanks, I've updated the comment along with a few others nearby.

> It's not clear to me whether replacements exist;

There's Fsymbol_value, Fset_default, of course.


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-28 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28 11:01 Outdated comment in lisp.h Eli Zaretskii
2011-10-28 13:49 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.