Jean-Marc Lasgouttes wrote:

> Actually, if want_gui is false, only Buffer::dispatch is invoked, and
> this one only supports LFUN_EXPORT. This means that -x cannot do
> anything that -e does not already do. This is broken IMO.

Agreed. It should now work again.


Georg
Index: src/ChangeLog
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/ChangeLog,v
retrieving revision 1.2186
diff -u -p -r1.2186 ChangeLog
--- src/ChangeLog	20 May 2005 09:13:39 -0000	1.2186
+++ src/ChangeLog	7 Jun 2005 16:43:59 -0000
@@ -1,3 +1,8 @@
+2005-06-07  Georg Baum  <[EMAIL PROTECTED]>
+
+	* lyx_main.C (parse_execute): Fix last fix: is_gui = false
+	effectively disabled -x
+
 2005-05-18  Jean-Marc Lasgouttes  <[EMAIL PROTECTED]>
 
 	* buffer_funcs.C (expandLabel): take a Buffer as argument;
Index: src/lyx_main.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/lyx_main.C,v
retrieving revision 1.207
diff -u -p -r1.207 lyx_main.C
--- src/lyx_main.C	19 May 2005 09:44:20 -0000	1.207
+++ src/lyx_main.C	7 Jun 2005 16:43:59 -0000
@@ -885,7 +885,6 @@ int parse_execute(string const & arg, st
 		exit(1);
 	}
 	batch = arg;
-	is_gui = false;
 	return 1;
 }
 

Reply via email to