changeset 38144:ef9d470d0fd1

(tool-bar-setup): Remove the EXIT button.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 21 Jun 2001 12:46:58 +0000
parents 455e613891ff
children f136fef2e11b
files lisp/toolbar/tool-bar.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/toolbar/tool-bar.el	Thu Jun 21 07:42:04 2001 +0000
+++ b/lisp/toolbar/tool-bar.el	Thu Jun 21 12:46:58 2001 +0000
@@ -170,7 +170,9 @@
 ;;; Set up some global items.  Additions/deletions up for grabs.
 
 (defun tool-bar-setup ()
-  (tool-bar-add-item-from-menu 'save-buffers-kill-emacs "exit")
+  ;; People say it's bad to have EXIT on the tool bar, since users
+  ;; might inadvertently click that button.
+  ;;(tool-bar-add-item-from-menu 'save-buffers-kill-emacs "exit")
   (tool-bar-add-item-from-menu 'find-file "new")
   (tool-bar-add-item-from-menu 'dired "open")
   (tool-bar-add-item-from-menu 'kill-this-buffer "close")