From: Herbert Sitz <hsitz@nwlink.com>
To: emacs-orgmode@gnu.org
Subject: Re: problem with command-line call to emacsclient
Date: Sat, 2 Jul 2011 15:32:53 +0000 (UTC) [thread overview]
Message-ID: <loom.20110702T172842-710@post.gmane.org> (raw)
In-Reply-To: 87oc1dc8e1.fsf@rat.lan
> (defun test-kill-buffer (fname exp-function)
> (let ((buf (find-file fname)))
> (funcall exp-function)
> (kill-buffer buf)))
>
> (test-kill-buffer "/tmp/abc.txt" 'some-function-to-call)
>
> will do the trick.
>
> Regards, Olaf
Olaf --
Beauteous, thank you, that did indeed do the trick.
-- Herb
prev parent reply other threads:[~2011-07-02 15:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-02 4:42 problem with command-line call to emacsclient Herbert Sitz
2011-07-02 9:57 ` Olaf Dietsche
2011-07-02 15:32 ` Herbert Sitz [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=loom.20110702T172842-710@post.gmane.org \
--to=hsitz@nwlink.com \
--cc=emacs-orgmode@gnu.org \
/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.