[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lexical byte-compilation warnings cleanup
From: |
Dmitri Paduchikh |
Subject: |
Re: Lexical byte-compilation warnings cleanup |
Date: |
Wed, 21 Aug 2013 11:19:23 +0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Stefan Monnier wrote replying to Drew Adams:
>> Excuse me for not following the thread and perhaps not understanding what
>> you say here. Are you saying that if `lexical-binding' is non-nil then
>> a function parameter whose name is the same as a dynamically scoped
>> variable is "not allowed" or does not refer to that variable?
> Indeed, it does not refer to the dynamically bound variable.
The warning seems to say opposite:
In toplevel form:
test.el:3:1:Warning: Argument load-path is not a lexical variable
This is for the following simple test case compiled by Emacs 24.3:
;;; -*- lexical-binding: t -*-
(defun my-test (load-path)
(car load-path))
--
With best regards
Dmitri Paduchikh
- Re: Lexical byte-compilation warnings cleanup, (continued)
- Re: Lexical byte-compilation warnings cleanup, Glenn Morris, 2013/08/19
- Re: Lexical byte-compilation warnings cleanup, Stefan Monnier, 2013/08/20
- RE: Lexical byte-compilation warnings cleanup, Drew Adams, 2013/08/20
- Re: Lexical byte-compilation warnings cleanup, Stefan Monnier, 2013/08/20
- RE: Lexical byte-compilation warnings cleanup, Drew Adams, 2013/08/20
- Re: Lexical byte-compilation warnings cleanup, Stefan Monnier, 2013/08/20
- RE: Lexical byte-compilation warnings cleanup, Drew Adams, 2013/08/20
- RE: Lexical byte-compilation warnings cleanup, Stephen J. Turnbull, 2013/08/20
- RE: Lexical byte-compilation warnings cleanup, Drew Adams, 2013/08/20
- Re: Lexical byte-compilation warnings cleanup, Stefan Monnier, 2013/08/21
- Re: Lexical byte-compilation warnings cleanup,
Dmitri Paduchikh <=
- Re: Lexical byte-compilation warnings cleanup, Stefan Monnier, 2013/08/21
Re: Lexical byte-compilation warnings cleanup, Barry OReilly, 2013/08/21