[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lexical binding
From: |
Juanma Barranquero |
Subject: |
Re: Lexical binding |
Date: |
Sat, 2 Apr 2011 04:33:04 +0200 |
On Fri, Apr 1, 2011 at 19:32, Stefan Monnier <address@hidden> wrote:
> Just a note that the lexbind branch has been merged into trunk,
An interesting warning:
;;; file test.el -*- lexical-binding: t -*-
(require 'cl)
(defun test (&rest args)
(loop for x in args))
;;; end of file
=> test.el:4:1:Warning: Unused lexical variable `x'
Now, change x to _x and recompile:
=> test.el:4:1:Warning: variable `_x' not left unused
Juanma
- Re: Lexical binding, (continued)
Re: Lexical binding, Eli Zaretskii, 2011/04/01
Re: Lexical binding,
Juanma Barranquero <=
- Re: Lexical binding, Juanma Barranquero, 2011/04/01
- Re: Lexical binding, Stefan Monnier, 2011/04/02
- Re: Lexical binding, Juanma Barranquero, 2011/04/04
- Re: Lexical binding, Stefan Monnier, 2011/04/04
- Re: Lexical binding, Juanma Barranquero, 2011/04/04
- Re: Lexical binding, David Kastrup, 2011/04/04
- Re: Lexical binding, Stefan Monnier, 2011/04/04
Re: Lexical binding, Stefan Monnier, 2011/04/02