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 05:36:22 +0200

Another one:

;;; file test.el -*- lexical-binding: t -*-

(defun test (sum args)
  (dolist (arg args sum)
    (setq sum (+ sum arg))))

=> test.el:3:1:Warning: Unused lexical variable `arg'

    Juanma



reply via email to

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