unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Code depending on hostname
@ 2007-08-08 17:31 Hadron
  2007-08-08 18:04 ` weber
  2007-08-08 20:42 ` Scott Frazer
  0 siblings, 2 replies; 4+ messages in thread
From: Hadron @ 2007-08-08 17:31 UTC (permalink / raw)
  To: help-gnu-emacs


Could someone possibly advise me on some example lisp of how to do alternate
things based on the hostname of the machine that the code is being run on?

e.g.

if hostname is A
 call funcA
else if hostname is B
 call funcB
else ....

many thanks for any pointers.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-08 21:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-08 17:31 Code depending on hostname Hadron
2007-08-08 18:04 ` weber
2007-08-08 20:42 ` Scott Frazer
2007-08-08 21:04   ` Hadron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).