all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#44088: 26.3; doc of `define-obsolete-variable-alias
@ 2020-10-20  0:08 Drew Adams
  2020-10-20 11:28 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2020-10-20  0:08 UTC (permalink / raw
  To: 44088

The doc (doc string and Elisp manual, node `Variable Aliases') does not
say that, even though this is a macro, the two "name" arguments are
evaluated.  So typically you'll need to pass quoted symbols, not just
the symbols.  

The doc should make this clear.

The doc should also say that these args are expected, when evaluated, to
be symbols, not strings.  Calling these args "*-NAME" isn't very
helpful, but it will be OK if you state that the values are expected to
be symbols.

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





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

* bug#44088: 26.3; doc of `define-obsolete-variable-alias
  2020-10-20  0:08 bug#44088: 26.3; doc of `define-obsolete-variable-alias Drew Adams
@ 2020-10-20 11:28 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-20 11:28 UTC (permalink / raw
  To: Drew Adams; +Cc: 44088

Drew Adams <drew.adams@oracle.com> writes:

> The doc (doc string and Elisp manual, node `Variable Aliases') does not
> say that, even though this is a macro, the two "name" arguments are
> evaluated.  So typically you'll need to pass quoted symbols, not just
> the symbols.  
>
> The doc should make this clear.

Good idea.  Now done in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2020-10-20 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-20  0:08 bug#44088: 26.3; doc of `define-obsolete-variable-alias Drew Adams
2020-10-20 11:28 ` Lars Ingebrigtsen

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.