From: Edward O'Connor <hober0@gmail.com>
Subject: Re: defining functions in emacs
Date: Tue, 24 Jan 2006 15:13:39 -0800 [thread overview]
Message-ID: <m2d5ih43to.fsf@roisin.evdb.com> (raw)
In-Reply-To: 43D69ED3.6070005@ucsc.edu
> (defun read-environment ()
> (setq outbuf (generate-new-buffer "read-environment-outbuf"))
> (call-process "read-environment.sh" nil outbuf nil)
> (eval-buffer outbuf)
> (kill-buffer outbuf))
How about this instead?
(defun read-environment ()
(interactive)
(with-temp-buffer
(call-process "read-environment.sh" nil t nil)
(eval-buffer)))
Ted
--
Edward O'Connor
hober0@gmail.com
Ense petit placidam sub libertate quietem.
next prev parent reply other threads:[~2006-01-24 23:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-24 21:40 defining functions in emacs Matt Brown
2006-01-24 23:13 ` Edward O'Connor [this message]
2006-01-25 16:02 ` Kevin Rodgers
[not found] <mailman.11.1138142928.2878.help-gnu-emacs@gnu.org>
2006-01-25 8:09 ` Tim X
2006-01-26 6:17 ` Barry Margolin
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=m2d5ih43to.fsf@roisin.evdb.com \
--to=hober0@gmail.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.