aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Abrahamsen2002-02-19 10:30:30 +0000
committerPer Abrahamsen2002-02-19 10:30:30 +0000
commit9b2d1d408c023cc436b5cf251e9c814376f4c200 (patch)
tree40f016eb05645b0312e73072e502e2a6ddc1aa6c
parente5389a0be5494823ef49af2e6109f5411df56762 (diff)
downloademacs-9b2d1d408c023cc436b5cf251e9c814376f4c200.tar.gz
emacs-9b2d1d408c023cc436b5cf251e9c814376f4c200.zip
2002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
* facemenu.el (describe-text-mode-map): Removed bootstrap kludge. * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t. * menu-bar.el (menu-bar-mode): Ditto.
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/facemenu.el13
-rw-r--r--lisp/menu-bar.el8
-rw-r--r--lisp/toolbar/tool-bar.el7
4 files changed, 10 insertions, 25 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 517a2a69665..2f1eed421c5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12002-02-19 Per Abrahamsen <abraham@dina.kvl.dk>
2
3 * facemenu.el (describe-text-mode-map): Removed bootstrap kludge.
4
5 * toolbar/tool-bar.el (tool-bar-mode): Made the standard value t.
6 * menu-bar.el (menu-bar-mode): Ditto.
7
12002-02-18 Andreas Schwab <schwab@suse.de> 82002-02-18 Andreas Schwab <schwab@suse.de>
2 9
3 * replace.el (query-replace-regexp-eval): Doc fix. 10 * replace.el (query-replace-regexp-eval): Doc fix.
diff --git a/lisp/facemenu.el b/lisp/facemenu.el
index 59e27e2dbd5..2e1e6c7538b 100644
--- a/lisp/facemenu.el
+++ b/lisp/facemenu.el
@@ -478,18 +478,7 @@ These special properties include `invisible', `intangible' and `read-only'."
478 478
479(defvar describe-text-mode-map 479(defvar describe-text-mode-map
480 (let ((map (make-sparse-keymap))) 480 (let ((map (make-sparse-keymap)))
481 (if (boundp 'widget-keymap) 481 (set-keymap-parent map widget-keymap)
482 (set-keymap-parent map widget-keymap)
483 ;; Copy from wid-edit.el if widget-keymap isn't in loaddefs.el
484 ;; Needed for bootstrap purposes, can hopefully be removed when
485 ;; loaddefs.el is updated.
486 ;; -- Per Abrahamsen <abraham@dina.kvl.dk>, 2002-02-14.
487 (define-key map "\t" 'widget-forward)
488 (define-key map [(shift tab)] 'widget-backward)
489 (define-key map [backtab] 'widget-backward)
490 (define-key map [down-mouse-2] 'widget-button-click)
491 (define-key map "\C-m" 'widget-button-press))
492 (define-key map "q" 'describe-text-done)
493 map) 482 map)
494 "Keymap for `describe-text-mode'.") 483 "Keymap for `describe-text-mode'.")
495 484
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index e6814a4e76c..2e085759eab 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1438,7 +1438,7 @@ key (or menu-item)"))
1438 (list 'menu-item "Enter" 'exit-minibuffer 1438 (list 'menu-item "Enter" 'exit-minibuffer
1439 :help "Terminate input and exit minibuffer"))) 1439 :help "Terminate input and exit minibuffer")))
1440 1440
1441(defcustom menu-bar-mode nil 1441(defcustom menu-bar-mode t
1442 "Toggle display of a menu bar on each frame. 1442 "Toggle display of a menu bar on each frame.
1443Setting this variable directly does not take effect; 1443Setting this variable directly does not take effect;
1444use either \\[customize] or the function `menu-bar-mode'." 1444use either \\[customize] or the function `menu-bar-mode'."
@@ -1448,12 +1448,6 @@ use either \\[customize] or the function `menu-bar-mode'."
1448 :type 'boolean 1448 :type 'boolean
1449 :group 'frames) 1449 :group 'frames)
1450 1450
1451;;; `menu-bar-mode' doesn't really have a standard value, as it depend
1452;;; on where and how Emacs was started. By removing the standard
1453;;; value, we ensure that customize will always save it.
1454;; -- Per Abrahamsen <abraham@dina.kvl.dk> 2002-02-11.
1455(put 'menu-bar-mode 'standard-value nil)
1456
1457(defun menu-bar-mode (&optional flag) 1451(defun menu-bar-mode (&optional flag)
1458 "Toggle display of a menu bar on each frame. 1452 "Toggle display of a menu bar on each frame.
1459This command applies to all frames that exist and frames to be 1453This command applies to all frames that exist and frames to be
diff --git a/lisp/toolbar/tool-bar.el b/lisp/toolbar/tool-bar.el
index 3d2ded136f5..5f563be810a 100644
--- a/lisp/toolbar/tool-bar.el
+++ b/lisp/toolbar/tool-bar.el
@@ -47,6 +47,7 @@ With numeric ARG, display the tool bar if and only if ARG is positive.
47 47
48See `tool-bar-add-item' and `tool-bar-add-item-from-menu' for 48See `tool-bar-add-item' and `tool-bar-add-item-from-menu' for
49conveniently adding tool bar items." 49conveniently adding tool bar items."
50 :init-value t
50 :global t 51 :global t
51 :group 'mouse 52 :group 'mouse
52 :group 'frames 53 :group 'frames
@@ -67,12 +68,6 @@ conveniently adding tool bar items."
67 (= 1 (length (default-value 'tool-bar-map)))) ; not yet setup 68 (= 1 (length (default-value 'tool-bar-map)))) ; not yet setup
68 (tool-bar-setup)))) 69 (tool-bar-setup))))
69 70
70;;; `tool-bar-mode' doesn't really have a standard value, as it depend
71;;; on where and how Emacs was started. By removing the standard
72;;; value, we ensure that customize will always save it.
73;; -- Per Abrahamsen <abraham@dina.kvl.dk> 2002-02-11.
74(put 'tool-bar-mode 'standard-value nil)
75
76(defvar tool-bar-map (make-sparse-keymap) 71(defvar tool-bar-map (make-sparse-keymap)
77 "Keymap for the tool bar. 72 "Keymap for the tool bar.
78Define this locally to override the global tool bar.") 73Define this locally to override the global tool bar.")