From mboxrd@z Thu Jan 1 00:00:00 1970 From: Herbert Sitz Subject: Re: problem with command-line call to emacsclient Date: Sat, 2 Jul 2011 15:32:53 +0000 (UTC) Message-ID: References: <87oc1dc8e1.fsf@rat.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd2By-0001o4-VJ for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 11:33:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qd2Bv-0000P1-T3 for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 11:33:10 -0400 Received: from lo.gmane.org ([80.91.229.12]:45065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qd2Bv-0000Of-FL for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 11:33:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qd2Bt-0007Bt-2k for emacs-orgmode@gnu.org; Sat, 02 Jul 2011 17:33:05 +0200 Received: from c-24-22-131-140.hsd1.wa.comcast.net ([24.22.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Jul 2011 17:33:05 +0200 Received: from hsitz by c-24-22-131-140.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Jul 2011 17:33:05 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.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