Angus Leeming <[EMAIL PROTECTED]> writes:

| The tiny patch, attached, "fixes" this problem. Don't know if this is the 
| right approach though.

This patch is "ok", but it does not fix the problem, it just hides it.

Actually I think this patch fixes the whole thing:

@@ -677,8 +677,8 @@ int LyXRC::read(string const & filename)
                        // loading a bind file. So, in this case, load
                        // the default bind file.
                        if (!hasBindFile) {
-                               ReadBindFile();
                                bind_file = bindFile;
+                               ReadBindFile();
                        }       


Or if it does not fix it... it fixes at least one way this could
happen.

- the lyxrc does not have a \bind_file clause, but does have a \bind   clause
- the \bind clause makes the cua.bind be read, but does not set bind_file
- reading of cua.bind encounters a \bind_file clause and bind_file is
  set to this and never set again...

        Lgb

Reply via email to