Article View: gnu.emacs.bug
Article #99391cl.el breaks 'member
From: Mike Williams
Date: Tue, 18 Sep 1990 20:09
Date: Tue, 18 Sep 1990 20:09
23 lines
1569 bytes
1569 bytes
I was quite surprised when I loaded Jamie Zawinski's tar-mode, and
discovered that some of my carefully crafted hacks no longer worked. In
particular, anything which used 'member started behaving differently. I
tracked down the problem to cl.el, which *redefines* 'member, to give
basically the same functionality as 'memq. (tar-mode.el requires cl.el).
For example:
(member "abc" '("abc")) ==> ("abc")
(require 'cl)
(member "abc" '("abc")) ==> nil
Why is 'member redefined?? How can I protect my favourite
customisations from becoming completely weirded out by basic functions
changing beneath my feet? Should I define my own version of 'member??
P.S. Sorry if I'm covering old ground here ...
--
/-------------------- byrd@comp.vuw.ac.nz --------------------\
| Mike Williams, Victoria University of Wellington, Aotearoa. |
\------------ What's another word for Thesaurus? -------------/
Technical Details
Message-ID:
<BYRD.90Sep18160907@embassy.comp.vuw.ac.nz>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!byrdShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,ece3248edb24e98b X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-09-18 23:17:55 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!comp.vuw.ac.nz!byrd From: Mike.Williams@comp.vuw.ac.nz (Mike Williams) Newsgroups: gnu.emacs.bug Subject: cl.el breaks 'member Message-ID: <BYRD.90Sep18160907@embassy.comp.vuw.ac.nz> Date: 18 Sep 90 20:09:07 GMT Sender: news@comp.vuw.ac.nz (News Admin) Distribution: gnu Organization: Dept. of Computer Science, Victoria Uni. of Wellington, NZ. Lines: 23 Posted: Tue Sep 18 21:09:07 1990