all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: emacsy <hisnawi@hotmail.com>
Cc: Help-gnu-emacs@gnu.org
Subject: Re: Compatible .emacs for Gnu and xemacs
Date: Mon, 1 Jun 2009 10:38:26 +0200	[thread overview]
Message-ID: <5A00D956-433E-4AC3-92F3-C35E7DF329B4@Web.DE> (raw)
In-Reply-To: <23808905.post@talk.nabble.com>


Am 01.06.2009 um 03:46 schrieb emacsy:

> How is it possible to modify my .emacs file to work with both Gnu  
> Emacs and
> xemacs?


(if (string= "21" emacs-major-version)
    ...)

(if (featurep 'xemacs)	; or 'emacs
    ...)

--
Greetings

   Pete

Programming today is a race between software engineers striving to  
build bigger and better idiot-proof programs, and the Universe trying  
to produce bigger and better idiots. So far, the Universe is winning.
				– Rich Cook





  reply	other threads:[~2009-06-01  8:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-01  1:46 Compatible .emacs for Gnu and xemacs emacsy
2009-06-01  8:38 ` Peter Dyballa [this message]
2009-06-01 16:26   ` Drew Adams
2009-06-01 18:27 ` emacsy
2009-06-01 18:31   ` Lennart Borgman
2009-06-01 18:37   ` Drew Adams
2009-06-01 18:48   ` Peter Dyballa
     [not found] ` <mailman.8292.1243880888.31690.help-gnu-emacs@gnu.org>
2009-06-01 18:38   ` Chris Jones
2009-06-01 19:01 ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A00D956-433E-4AC3-92F3-C35E7DF329B4@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=Help-gnu-emacs@gnu.org \
    --cc=hisnawi@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.