summaryrefslogtreecommitdiff
path: root/lisp/toolbar
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-06-21 12:48:03 +0000
committerEli Zaretskii <eliz@gnu.org>2001-06-21 12:48:03 +0000
commit7a03d9cdcf7bc551545f4782f725a58a674a1796 (patch)
treefc0682b7ebac71574889914e74bc516506c7a9b3 /lisp/toolbar
parent2ebf8f54cb0a49f18cebb58bed4c84cff7c49174 (diff)
downloademacs-7a03d9cdcf7bc551545f4782f725a58a674a1796.tar.gz
(tool-bar-setup): Remove the EXIT button.
Diffstat (limited to 'lisp/toolbar')
-rw-r--r--lisp/toolbar/tool-bar.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el
index e7534c9e4a6..302f6f3d937 100644
--- a/lisp/toolbar/tool-bar.el
+++ b/lisp/toolbar/tool-bar.el
@@ -170,7 +170,9 @@ function."
;;; 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")