[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using setq to create lists based on other lists...
From: |
Barry Margolin |
Subject: |
Re: using setq to create lists based on other lists... |
Date: |
Wed, 05 Dec 2018 11:47:11 -0500 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <mailman.5145.1543931778.1284.help-gnu-emacs@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca> wrote:
> > There's nothing wrong with it in Emacs Lisp
>
> Actually, there is in the sense that these are global variables and so
> can interfere with other Elisp packages.
Declaring the variable with defvar won't change that. Anyway, the code
we're talking about is just example snippets, not a full program.
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
Message not available
- Re: using setq to create lists based on other lists...,
Barry Margolin <=