|
From: | Kevin Rodgers |
Subject: | Re: Operating system in an emacs variable? |
Date: | Fri, 21 Mar 2003 16:15:31 -0700 |
User-agent: | Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Barman Brakjoller wrote:
Oh? What a disapointment! The subject of this thread sounded really really cool; imagine putting a whole operating system into an emacs variable! That would have been really cool!
(defvar system (with-temp-buffer (insert-file-contents-literally (cond ((file-executable-p "/etc/init") "/etc/init") ((file-executable-p "C:\\sys\\windows.exe") ; or whatever "C:\\sys\\windows.exe"))) (buffer-string)) "The current operating system.") -- <a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
[Prev in Thread] | Current Thread | [Next in Thread] |