Mercurial > emacs
comparison lisp/wid-edit.el @ 55664:b001dc626000
* wid-edit.el (widget-radio-button-notify): Don't pass `widget'
to widget-apply. :action method assumes 2 arguments, not 3.
author | Masatake YAMATO <jet@gyve.org> |
---|---|
date | Tue, 18 May 2004 13:38:59 +0000 |
parents | 4c64ee838f41 |
children | 1374d9297422 |
comparison
equal
deleted
inserted
replaced
55663:2681959ed181 | 55664:b001dc626000 |
---|---|
2292 :off "( )" | 2292 :off "( )" |
2293 :off-glyph "radio0") | 2293 :off-glyph "radio0") |
2294 | 2294 |
2295 (defun widget-radio-button-notify (widget child &optional event) | 2295 (defun widget-radio-button-notify (widget child &optional event) |
2296 ;; Tell daddy. | 2296 ;; Tell daddy. |
2297 (widget-apply (widget-get widget :parent) :action widget event)) | 2297 (widget-apply (widget-get widget :parent) :action event)) |
2298 | 2298 |
2299 ;;; The `radio-button-choice' Widget. | 2299 ;;; The `radio-button-choice' Widget. |
2300 | 2300 |
2301 (define-widget 'radio-button-choice 'default | 2301 (define-widget 'radio-button-choice 'default |
2302 "Select one of multiple options." | 2302 "Select one of multiple options." |