unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* 24.1.50 + lexical-binding + server.el + server-visit-hook = problem
@ 2012-06-04 18:48 Jim Diamond
  2012-06-05  4:11 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Jim Diamond @ 2012-06-04 18:48 UTC (permalink / raw)
  To: help-gnu-emacs

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?

Thanks.

				Jim


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-06-26 16:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-04 18:48 24.1.50 + lexical-binding + server.el + server-visit-hook = problem Jim Diamond
2012-06-05  4:11 ` Kevin Rodgers
     [not found] ` <mailman.2291.1338869494.855.help-gnu-emacs@gnu.org>
2012-06-05 11:21   ` Jim Diamond
2012-06-06  1:17 ` Stefan Monnier
2012-06-06 20:01   ` Jim Diamond
2012-06-07  3:42     ` Kevin Rodgers
     [not found]     ` <mailman.2373.1339040551.855.help-gnu-emacs@gnu.org>
2012-06-09 14:33       ` Jim Diamond
2012-06-11 13:27       ` Stefan Monnier
2012-06-11 14:33         ` Jim Diamond
2012-06-13 15:13           ` Stefan Monnier
2012-06-24 20:34             ` Jim Diamond
2012-06-25 23:03               ` Stefan Monnier
2012-06-26 16:15                 ` Jim Diamond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).