Re: [O] problem with command-line call to emacsclient

2011-07-02 Thread Herbert Sitz
> (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

Re: [O] problem with command-line call to emacsclient

2011-07-02 Thread Olaf Dietsche
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

[O] problem with command-line call to emacsclient

2011-07-01 Thread Herbert Sitz
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