[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problem with command-line call to emacsclient
From: |
Herbert Sitz |
Subject: |
Re: [O] problem with command-line call to emacsclient |
Date: |
Sat, 2 Jul 2011 15:32:53 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> (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