From e42f49b223fc2b00240f7c451bef47dfb9850eef Mon Sep 17 00:00:00 2001 From: Stefan Kebekus Date: Thu, 29 Nov 2001 14:28:53 +0000 Subject: [PATCH] minor robustification of the editor call svn path=/trunk/kdegraphics/kdvi/; revision=124689 --- optiondialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/optiondialog.cpp b/optiondialog.cpp index 64dab619a..d19129629 100644 --- a/optiondialog.cpp +++ b/optiondialog.cpp @@ -59,7 +59,7 @@ OptionDialog::OptionDialog( QWidget *parent, const char *name, bool modal ) EditorDescriptions += i18n("Enter the command line below."); EditorNames += "Emacs / emacsclient"; - EditorCommands += "emacsclient --no-wait +%l %f"; + EditorCommands += "emacsclient --no-wait +%l %f || emacs +%l %f"; EditorDescriptions += i18n("Click 'Help' to learn how to set up Emacs."); EditorNames += "Kate"; @@ -75,7 +75,7 @@ OptionDialog::OptionDialog( QWidget *parent, const char *name, bool modal ) EditorDescriptions += i18n("VIM always opens a new window."); EditorNames += "XEmacs / gnuclient"; - EditorCommands += "gnuclient -q +%l %f"; + EditorCommands += "gnuclient -q +%l %f || xemacs +%l %f"; EditorDescriptions += i18n("Click 'Help' to learn how to set up XEmacs.");