unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cl-lexical-let?
@ 2015-07-16 17:12 Stephen Leake
  2015-07-16 17:19 ` cl-lexical-let? Dmitry Gutov
  2015-07-18 17:43 ` State of Java support in JDEE, was: cl-lexical-let? Dmitry Gutov
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Leake @ 2015-07-16 17:12 UTC (permalink / raw)
  To: emacs-devel

I'm updating jdee for emacs 25.

It uses the `lexical-let' function from cl, so I'm looking to replace
that with something, but there is no `cl-lexical-let'.

Here is a typical use:


(defun jde-jeval-cm (java-expr &optional buffer-head finish-fcn)
...
       (lexical-let ((finish finish-fcn))
	  (setq compilation-finish-functions
		(lambda (buf msg)
		  (funcall finish buf msg)
		  (setq compilation-finish-functions nil)))))
...


I think if I set lexical-binding t for the file, and change this to "(let
...", then this will work. Is that correct?

Is there any other replacement, if for some reason we don't want to set
lexical-binding t?

-- 
-- Stephe



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

end of thread, other threads:[~2015-07-18 19:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-16 17:12 cl-lexical-let? Stephen Leake
2015-07-16 17:19 ` cl-lexical-let? Dmitry Gutov
2015-07-18 17:43 ` State of Java support in JDEE, was: cl-lexical-let? Dmitry Gutov
2015-07-18 19:27   ` Stephen Leake
2015-07-18 19:33     ` Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).