From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Preventing emacs from discarding buffers Date: Sun, 18 Sep 2005 23:42:54 +0200 Message-ID: References: <1127054485.422480.18440@g47g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1127081143 22651 80.91.229.2 (18 Sep 2005 22:05:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Sep 2005 22:05:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 19 00:05:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EH7HF-0004rC-5B for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Sep 2005 00:04:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EH7HE-0007w4-JM for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Sep 2005 18:04:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EH7GK-0007eP-Rs for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 18:03:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EH7EX-000738-F6 for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 18:02:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EH7ER-0006px-CR for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 18:01:55 -0400 Original-Received: from [217.72.192.224] (helo=smtp06.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EH6w5-0006TF-Fl for help-gnu-emacs@gnu.org; Sun, 18 Sep 2005 17:42:57 -0400 Original-Received: from [84.245.189.54] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.105 #317) id 1EH6w3-0002rl-00; Sun, 18 Sep 2005 23:42:55 +0200 In-Reply-To: <1127054485.422480.18440@g47g2000cwa.googlegroups.com> X-Image-Url: http://homepage.mac.com/sparifankal/.cv/thumbs/me.thumbnail Original-To: "Ignatz" X-Mailer: Apple Mail (2.622) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29538 Archived-At: Am 18.09.2005 um 16:41 schrieb Ignatz: > I'd like to remove the "Discard Buffers" icon altogether Remove the toolbar (in Options->Show/Hide, then save the options)! What is it good for? How often did you use it the last ten years -- I mean on purpose? In lisp/toolbar/tool-bar.el line #229 (GNU Emacs 22.0.50 from CVS) (tool-bar-add-item-from-menu 'kill-this-buffer "close") is the line to comment. Then byte-compile the buffer or file. -- Greetings Pete <\ \__ O __O | O\ _\\/\-% _`\<, '()-'-(_)--(_) (_)/(_)