> (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
Herbert Sitz writes:
> I'm making a call to an emacsclient and trying to figure out how to get the
> buffer to unload at the end of the function I'm calling. I know kill-buffer
> isn't supposed to unload the buffer but I can't figure out what will. I've
> tried server-edit and server-kill-buffe
I'm making a call to an emacsclient and trying to figure out how to get the
buffer to unload at the end of the function I'm calling. I know kill-buffer
isn't supposed to unload the buffer but I can't figure out what will. I've
tried server-edit and server-kill-buffer in place of kill-buffer below