[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired cons bug?
From: |
Jean Louis |
Subject: |
Re: dired cons bug? |
Date: |
Thu, 11 Aug 2022 12:32:50 +0300 |
User-agent: |
Mutt/+ () (2022-06-11) |
* Eli Zaretskii <eliz@gnu.org> [2022-08-11 09:43]:
> > Date: Thu, 11 Aug 2022 08:55:40 +0300
> > From: Jean Louis <bugs@gnu.support>
> > Cc: help-gnu-emacs@gnu.org
> >
> > * Harald Judt <h.judt@gmx.at> [2022-08-11 08:05]:
> > > Hi,
> > >
> > > I have a question regarding using dired programmatically in Emacs 28.1.
> > > Say I
> > > do the following call to open a dired buffer and insert the files:
> > >
> > > (dired "/home/"(cons "/home/admin" '("/home/user/tmp/test/a/a"
> > > "/home/user/tmp/test/b/b" "/home/user/tmp/test/c/c")))
> >
> > Function is not intended to be use that way.
> >
> > (dired DIRNAME &optional SWITCHES)
> >
> > DIRNAME must be directory name. Not cons and some files inside.
>
> Did you consult the doc string before writing the above? It says:
You are right, I did not. Next time I will.
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/