all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tino Calancha <tino.calancha@gmail.com>
To: Ted Zlatanov <tzz@lifelogs.com>
Cc: Tino Calancha <tino.calancha@gmail.com>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: [elpa] master 39d163a: load-dir: fix CL and free variable warnings
Date: Mon, 20 Mar 2017 23:12:33 +0900 (JST)	[thread overview]
Message-ID: <alpine.DEB.2.20.1703202310330.25777@calancha-pc> (raw)
In-Reply-To: <87fui89hf7.fsf@lifelogs.com>



On Mon, 20 Mar 2017, Ted Zlatanov wrote:

> On Mon, 20 Mar 2017 09:51:07 -0400 Stefan Monnier <monnier@iro.umontreal.ca> wrote:
>
> SM> Either use `some` instead of `cl-some`, or use `cl-lib` (and add
> SM> a corresponding `Package-Requires: ((cl-lib "0.5"))` in the file's
> SM> header).
>
> BTW, I noticed ELPAs' lmc/lmc.el has "Package-Requires" without the ":"
> afterwards.
>
> SM>         Stefan "who favors the `cl-lib` solution"
>
> Like this? I'll commit if you agree.
>
> Thanks for the help
> Ted
>
> diff --git a/packages/load-dir/load-dir.el b/packages/load-dir/load-dir.el
> index ab88ea7..b2231a5 100644
> --- a/packages/load-dir/load-dir.el
> +++ b/packages/load-dir/load-dir.el
> @@ -9,6 +9,7 @@
> ;; Maintainer: Teodor Zlatanov <tzz@lifelogs.com>
> ;; Version: 0.0.5
> ;; Keywords: lisp, files, convenience
> +;; Package-Requires: ((cl-lib "0.5"))
>
> ;; This file is part of GNU Emacs.
>
> @@ -43,7 +44,7 @@
>
> ;;; Code:
>
> -(eval-when-compile (require 'cl-extra))
> +(eval-when-compile (require 'cl-lib))
    ^^^^^^^^^^^^^^^^^^
Just plain `require' because `cl-some' is a defun not a macro:
(require 'cl-lib)



  reply	other threads:[~2017-03-20 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20170320125824.26461.58778@vcs0.savannah.gnu.org>
     [not found] ` <20170320125825.4C92420E17@vcs0.savannah.gnu.org>
2017-03-20 13:16   ` [elpa] master 39d163a: load-dir: fix CL and free variable warnings Stefan Monnier
2017-03-20 13:27     ` Ted Zlatanov
2017-03-20 13:51       ` Stefan Monnier
2017-03-20 14:00         ` Ted Zlatanov
2017-03-20 14:12           ` Tino Calancha [this message]
2017-03-20 14:45           ` Stefan Monnier
2017-03-20 15:15             ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.20.1703202310330.25777@calancha-pc \
    --to=tino.calancha@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=tzz@lifelogs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.