|
From: | Kevin Rodgers |
Subject: | Re: 24.1.50 + lexical-binding + server.el + server-visit-hook = problem |
Date: | Mon, 04 Jun 2012 22:11:51 -0600 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 |
On 6/4/12 12:48 PM, Jim Diamond wrote:
While using 23.4 (and some other older versions) I added a hook to server-visit-hook. My hook function uses the variable "dir", which is meaningful at the point where server-visit-hook is called. However, in 24.1.50, the new and improved server.el has lexical-binding: t at the top of the file, which (apparently) means that dir is not available to my hook. Can some emacs guru (or wizard or ...) enlighten me as to what is the "proper" way of dealing with this problem?
How and where is the binding of dir established? -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |