emacs-devel
[Top][All Lists]
Advanced

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

Re: [elpa] main 2ec80977e1: * elpa-packages (dired-preview): New package


From: Stefan Monnier
Subject: Re: [elpa] main 2ec80977e1: * elpa-packages (dired-preview): New package
Date: Tue, 11 Jul 2023 14:45:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13)

>>     (concat "\\."
>>             (regexp-opt "mkv" "webm" "mp4" "mp3" "ogg" "m4a"
>>                         "gz" "zst" "tar" "xz" "rar" "zip"
>>                         "iso" "epub" "pdf"))
>
> Of course, modulo
>
> --8<---------------cut here---------------start------------->8---
> Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 2) 15)

:-)

> Obviously, one would just have to wrap the arguments in the list but
> that together with the separate concat makes it less comfortable than
> `rx' to me.  But worth mentioning!

I just mentioned it for those cases where `rx` is shunned for a reason
or another.


        Stefan




reply via email to

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