Changeset a70441f in git for Singular/emacs.cc


Ignore:
Timestamp:
Apr 27, 2000, 12:07:30 PM (24 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
e5f8ae07e0b41bb1b0e5aaaac2dad244e619d563
Parents:
eec9b2d2a332c04f20d743bdd4ccc107766fbc61
Message:
Windows and gcc 2.95 porting


git-svn-id: file:///usr/local/Singular/svn/trunk@4273 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/emacs.cc

    reec9b2 ra70441f  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: emacs.cc,v 1.11 1999-12-16 13:41:30 obachman Exp $ */
     4/* $Id: emacs.cc,v 1.12 2000-04-27 10:07:05 obachman Exp $ */
    55/*
    66* ABSTRACT: Esingular main file
     
    145145  // make sure  emacs, singular, emacs_dir, emacs_load are set
    146146  if (emacs == NULL) emacs = feResource("emacs", 0);
     147  if (emacs == NULL) emacs = feResource("xemacs", 0);
    147148  if (emacs == NULL)
    148149  {
     
    215216    prefix = "-";
    216217  getcwd(cwd, MAXPATHLEN);
    217 
     218  // append / at the end of cwd
     219  if (cwd[strlen(cwd)-1] != '/') strcat(cwd, "/");
     220   
    218221  // Note: option -no-init-file should be equivalent to -q. Anyhow,
    219222  // xemacs-20.4 sometimes crashed on startup when using -q. DonŽt know why.
Note: See TracChangeset for help on using the changeset viewer.