minor robustification of the editor call

svn path=/trunk/kdegraphics/kdvi/; revision=124689
remotes/origin/kdvi-3.0
Stefan Kebekus 25 years ago
parent e90e04d22d
commit e42f49b223
  1. 4
      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.");

Loading…
Cancel
Save