emacs-devel
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]