From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Ethan Berger <eberger@tilera.com>
Cc: 14490@debbugs.gnu.org
Subject: bug#14490: Error in specman-mode.el
Date: Tue, 28 May 2013 13:18:55 -0400 [thread overview]
Message-ID: <jwv61y3c9d2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <91A8B526F6DDB848989BEB63B5F1C33567AD6451@USMAExch1.tad.internal.tilera.com> (Ethan Berger's message of "Tue, 28 May 2013 15:56:57 +0000")
> ;; emacs or xemacs
> (if (or (string-match "Lucid" emacs-version)
> (string-match "XEmacs" emacs-version))
> (setq specman-emacs-kind 'xemacs)
> (setq specman-emacs-kind 'emacs))
BTW, the standard recommended way to test is (featurep 'xemacs) and
rather than store the result in a variable, it's better to repeat the
test everywhere you need it, because the compiler will handle it more
efficiently (whereas if it's stored in a variable, the compiler won't be
able to tell that you'll never change the variable).
Stefan
prev parent reply other threads:[~2013-05-28 17:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-28 15:56 bug#14490: Error in specman-mode.el Ethan Berger
2013-05-28 17:18 ` Stefan Monnier [this message]
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=jwv61y3c9d2.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=14490@debbugs.gnu.org \
--cc=eberger@tilera.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.