Show
Ignore:
Timestamp:
2006年08月18日 08時35分31秒 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/cus-edit.el

    r4131 r4148  
    44374437    (set-keymap-parent map widget-keymap) 
    44384438    (define-key map [remap self-insert-command] 'custom-no-edit) 
     4439    (define-key map "\^m" 'custom-newline) 
    44394440    (define-key map " " 'scroll-up) 
    44404441    (define-key map "\177" 'scroll-down) 
     
    44524453  (interactive "@d") 
    44534454  (error "You can't edit this part of the Custom buffer")) 
     4455 
     4456(defun custom-newline (pos &optional event) 
     4457  "Invoke button at POS, or refuse to allow editing of Custom buffer." 
     4458  (interactive "@d") 
     4459  (let ((button (get-char-property pos 'button))) 
     4460    (if button 
     4461        (widget-apply-action button event) 
     4462      (error "You can't edit this part of the Custom buffer")))) 
    44544463 
    44554464(easy-menu-define Custom-mode-menu