[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/cus-edit.el,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/cus-edit.el,v |
Date: |
Fri, 28 Jul 2006 18:08:12 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 06/07/28 18:08:11
Index: cus-edit.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/cus-edit.el,v
retrieving revision 1.298
retrieving revision 1.299
diff -u -b -r1.298 -r1.299
--- cus-edit.el 28 Jul 2006 03:31:18 -0000 1.298
+++ cus-edit.el 28 Jul 2006 18:08:11 -0000 1.299
@@ -4435,9 +4435,7 @@
;; Actually, this misfeature of dense keymaps was fixed on 2001-11-26.
(let ((map (make-keymap)))
(set-keymap-parent map widget-keymap)
- (define-key map [remap self-insert-command]
- 'custom-no-edit)
- (define-key map "\^m" 'custom-no-edit)
+ (define-key map [remap self-insert-command] 'custom-no-edit)
(define-key map " " 'scroll-up)
(define-key map "\177" 'scroll-down)
(define-key map "\C-c\C-c" 'Custom-set)
@@ -4452,10 +4450,7 @@
(defun custom-no-edit (pos &optional event)
"Invoke button at POS, or refuse to allow editing of Custom buffer."
(interactive "@d")
- (let ((button (get-char-property pos 'button)))
- (if button
- (widget-apply-action button event)
- (error "You can't edit this part of the Custom buffer"))))
+ (error "You can't edit this part of the Custom buffer"))
(easy-menu-define Custom-mode-menu
custom-mode-map