From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] trunk r113497: lisp/desktop.el: Simplify. Date: Tue, 23 Jul 2013 13:23:21 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1374578647 5309 80.91.229.3 (23 Jul 2013 11:24:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jul 2013 11:24:07 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 23 13:24:09 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V1ahM-0007gN-GB for ged-emacs-devel@m.gmane.org; Tue, 23 Jul 2013 13:24:08 +0200 Original-Received: from localhost ([::1]:35323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1ahL-0002z0-QM for ged-emacs-devel@m.gmane.org; Tue, 23 Jul 2013 07:24:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1ahH-0002yv-IT for emacs-devel@gnu.org; Tue, 23 Jul 2013 07:24:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V1ahG-0005Ba-8H for emacs-devel@gnu.org; Tue, 23 Jul 2013 07:24:03 -0400 Original-Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:47795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V1ahG-0005BV-1M for emacs-devel@gnu.org; Tue, 23 Jul 2013 07:24:02 -0400 Original-Received: by mail-ee0-f46.google.com with SMTP id d41so4388675eek.5 for ; Tue, 23 Jul 2013 04:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=zqnX9MRdbiVgrLxJTjhkCpFlgSZp+QU8jLsaeXiAkGU=; b=Xhz70Qds6HU6bvhRdec6PAh0D8IBYHPJCvohxcyrTiYJvEWgoo8FOO5w7EaausCoTg p9eL656c5Sb53OYltZwEYHm6CDIaooZhMqvZ8Cnex7Br8a6pQBKck5ZSAIsVCU41DSBz TRKV0/qOdKaR9OHSpZpkFI07MQxA2lkyiHZjSNkQ/L80EGq25kzGVV3LpwIfOyYG1m3v 7CdjqVJvBuN9rPloBltLpuTK2bRJuQihLU+m9CgByqWje4/cXNs4nbdTTaA2kxVB0Hm5 7aOPWk9TftkaEEPEIREDzD+ygUgkKiq34a1iaDHrXP6E2AmQWBtKAs6u5JsChyjwauhz NX0g== X-Received: by 10.15.76.71 with SMTP id m47mr31826525eey.70.1374578641245; Tue, 23 Jul 2013 04:24:01 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Tue, 23 Jul 2013 04:23:21 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162087 Archived-At: On Tue, Jul 23, 2013 at 3:25 AM, Stefan Monnier 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 ...)