home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from help-lucid-emacs to alt.lucid-emacs.help; Sun, 6 Sep 1992 13:44:34 EDT
- From: danny@amil.co.il (Danny Bar-Dov)
- Message-ID: <9209061558.AA00943@amil.co.il>
- Subject: Lucid or not?
- References: <1992Sep6.120912.5392@corax.udac.uu.se>
- Date: Sun, 6 Sep 1992 17:44:35 GMT
- Newsgroups: alt.lucid-emacs.help
- Path: sparky!uunet!wendy-fate.uu.net!help-lucid-emacs
- Sender: help-lucid-emacs-request@lucid.com
- Lines: 51
-
- Henrik B}kman CSD writes:
- > What is the preferable way to check if you are running Lucid-emacs or
- > not, in an elisp-file?
- >
- > --
- > ----------------------------------------------------------------------
- > Henrik Bakman Adress: Box 520 Tel: +46 18 181044
- > System Manager 751 20 UPPSALA Fax: +46 18 521270
- > Computing Science Dep. SWEDEN Email: hb@csd.uu.se
- > Uppsala University
-
- And once upon a time jwz wrote:
- I think the easiest way to do this is
-
- > (cond ((not (string-lessp emacs-version "19"))
- > ;; for any 19-vintage emacs
- > )
- >
- > ((not (string-lessp emacs-version "19.2"))
- > ;; for versions of emacs at 19.2 or above
- > )
- >
- > ((string-match "Lucid" emacs-version)
- > ;; for any Lucid Emacs
- > )
- >
- > ((and (string-match "Lucid" emacs-version)
- > (not (string-lessp emacs-version "19.2")))
- > ;; for lemacs 19.2 or greater, but not FSF's 19.2
- > ))
- >
- >But having a set of integer variables would be nice as well. But the problem
- >with that is that Emacs 18 didn't have it, and FSF's 19 might not have it,
- >which means you'd have to use the above code or something like it anyway.
- >
- > -- Jamie
- >
-
- --
- Danny.
-
- -------------------------------
- Dan Bar Dov
-
- Applied Materials (Israel)
-
- Email: danny@amil.co.il
- Phone: office 972-3-499573
- home 972-3-5469625
- TimeZone: GMT+2
- -------------------------------
-