emacs-devel
[Top][All Lists]
Advanced

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

Re: Regexp error scan (March 26)


From: Noam Postavsky
Subject: Re: Regexp error scan (March 26)
Date: Wed, 27 Mar 2019 10:49:10 -0400

On Wed, 27 Mar 2019 at 10:46, Stefan Monnier <address@hidden> wrote:
>
> >>>> (regexp-opt-charset (append erc-lurker-ignore-chars nil))
> >> Why do we need the append-nil thingy?
> >> Does regexp-opt-charset modify its argument by side-effect?
> >
> > No, it's a way to convert a string to a list of characters which is what 
> > regexp-opt-charset expects.
> > (mapcar #'identity ...) would also work, but this is a little shorter.
>
> Ah, good.  But it would deserve a comment,

Or use string-to-list?



reply via email to

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