Commit 16f18d05 authored by Chong Yidong's avatar Chong Yidong
Browse files

* gnus-cus.el: Revert 2005-10-17 change.

parent 25229337
2006-02-14 Chong Yidong <cyd@stupidchicken.com>
* gnus-cus.el: Revert 2005-10-17 change.
2006-02-10 Reiner Steib <Reiner.Steib@gmx.de> 2006-02-10 Reiner Steib <Reiner.Steib@gmx.de>
* gnus.el: Remove bogus comment. * gnus.el: Remove bogus comment.
......
...@@ -36,14 +36,6 @@ ...@@ -36,14 +36,6 @@
;;; Widgets: ;;; Widgets:
(defvar gnus-custom-map
(let ((map (make-keymap)))
(set-keymap-parent map widget-keymap)
(suppress-keymap map)
(define-key map [mouse-1] 'widget-move-and-invoke)
map)
"Keymap for editing Gnus customization buffers.")
(defun gnus-custom-mode () (defun gnus-custom-mode ()
"Major mode for editing Gnus customization buffers. "Major mode for editing Gnus customization buffers.
...@@ -59,7 +51,7 @@ if that value is non-nil." ...@@ -59,7 +51,7 @@ if that value is non-nil."
(kill-all-local-variables) (kill-all-local-variables)
(setq major-mode 'gnus-custom-mode (setq major-mode 'gnus-custom-mode
mode-name "Gnus Customize") mode-name "Gnus Customize")
(use-local-map gnus-custom-map) (use-local-map widget-keymap)
;; Emacs 21 stuff: ;; Emacs 21 stuff:
(when (and (facep 'custom-button-face) (when (and (facep 'custom-button-face)
(facep 'custom-button-pressed-face)) (facep 'custom-button-pressed-face))
...@@ -490,7 +482,7 @@ form, but who cares?" ...@@ -490,7 +482,7 @@ form, but who cares?"
(widget-create 'sexp (widget-create 'sexp
:tag "Method" :tag "Method"
:value (gnus-info-method info)))) :value (gnus-info-method info))))
(use-local-map gnus-custom-map) (use-local-map widget-keymap)
(widget-setup) (widget-setup)
(buffer-enable-undo) (buffer-enable-undo)
(goto-char (point-min)))) (goto-char (point-min))))
...@@ -884,7 +876,7 @@ articles in the thread. ...@@ -884,7 +876,7 @@ articles in the thread.
'(repeat :inline t '(repeat :inline t
:tag "Unknown entries" :tag "Unknown entries"
sexp))) sexp)))
(use-local-map gnus-custom-map) (use-local-map widget-keymap)
(widget-setup))) (widget-setup)))
(defun gnus-score-customize-done (&rest ignore) (defun gnus-score-customize-done (&rest ignore)
...@@ -1061,7 +1053,7 @@ articles in the thread. ...@@ -1061,7 +1053,7 @@ articles in the thread.
(gnus-agent-cat-prepare-category-field agent-enable-undownloaded-faces) (gnus-agent-cat-prepare-category-field agent-enable-undownloaded-faces)
(use-local-map gnus-custom-map) (use-local-map widget-keymap)
(widget-setup) (widget-setup)
(buffer-enable-undo)))) (buffer-enable-undo))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment