[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36157: 27.0.50; ediff-files does not work after lexical-binding was
From: |
Richard Stallman |
Subject: |
bug#36157: 27.0.50; ediff-files does not work after lexical-binding was enabled for ediff |
Date: |
Sat, 15 Jun 2019 22:35:21 -0400 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> I'm not 100% sure what you're asking here, but ediff uses variables to
> store information and then passes those to functions. So in one function
> it'll do something like this:
> (setq file-A "/path/to/foo.el")
> (setq buff-A (get-buffer-create "foo.el"))
> (ediff-find-file file-A buff-A)
It should add prefixes to those variable names, to avoid conflict.
Then it could defvar those variables to make them always-dynamic.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)