[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] trunk r113497: lisp/desktop.el: Simplify.
From: |
Juanma Barranquero |
Subject: |
Re: [Emacs-diffs] trunk r113497: lisp/desktop.el: Simplify. |
Date: |
Tue, 23 Jul 2013 13:23:21 +0200 |
On Tue, Jul 23, 2013 at 3:25 AM, Stefan Monnier
<address@hidden> wrote:
> Doesn't look right. Shouldn't it be
>
> (and args (apply #'cl-list* args))
Yes, sorry. Brain fart.
> or more simply
>
> (apply #'cl-list* args)
>
> which boils down to
>
> (defalias 'desktop-list* 'cl-list*)
Not exactly:
(desktop-list*) => nil ; with the old definition
(cl-list*) => *** Eval error *** Wrong number of arguments: (1 . &rest), 0
That's why I added (and arg ...)