unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* false warnings when compiling with lexical-binding and cl-lib.
@ 2013-11-21 15:29 Thierry Volpiatto
  2013-11-22  1:19 ` Stefan Monnier
  0 siblings, 1 reply; 9+ messages in thread
From: Thierry Volpiatto @ 2013-11-21 15:29 UTC (permalink / raw)
  To: emacs-devel

Hi,
here a sample file containing a function using loop:

--8<---------------cut here---------------start------------->8---
;;; test.el --- test loop -*- lexical-binding: t -*-

(require 'cl-lib)

(defun test-with (l)
  (cl-loop with lst
           for i in l
           unless (member i lst)
           collect i into lst
           finally return lst))
--8<---------------cut here---------------end--------------->8---

When compiling this file I have a warning about unused arg `lst'.
Is this wanted ?

Thanks.

-- 
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-24 18:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-21 15:29 false warnings when compiling with lexical-binding and cl-lib Thierry Volpiatto
2013-11-22  1:19 ` Stefan Monnier
2013-11-22  5:33   ` Thierry Volpiatto
2013-11-22  7:48   ` Thierry Volpiatto
2013-11-23  6:13   ` Thierry Volpiatto
2013-11-23 13:51     ` Stefan Monnier
2013-11-23 15:53       ` Thierry Volpiatto
2013-11-23 16:24         ` Thierry Volpiatto
2013-11-24 18:08           ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).