On 6 сеп 2005, [EMAIL PROTECTED] wrote:
> How do I in .emacs test which type of machine I am logged into?
You can use the value of `system-configuration' variable. For example:
(if (equal system-configuration "i486-pc-linux-gnu")
(message "PC") ; do something for PC
(if (equal system-configuration "powerpc-unknown-linux-gnu")
(message "Mac") ; do something else for Mac
(message "Don't know"))) ; do something else for other configurations
--
Поздрави,
Калоян Доганов,
Сдружение "Свободен софтуер".
___________________________________________________________
Ако не отговарям на писмата Ви: http://6lyokavitza.org/mail
_______________________________________________
Help-gnu-emacs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs