diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-11-21 00:02:31 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2005-11-21 00:02:31 +0000 |
commit | 74b99d45fd43a12213709ffdbdbadab67b9fdfba (patch) | |
tree | 2359c36aff065710c3b48671a151363932b78640 /lisp/widget.el | |
parent | 45aacac640ec1f185b392254c43f8fc060a16495 (diff) | |
download | emacs-74b99d45fd43a12213709ffdbdbadab67b9fdfba.tar.gz |
(define-widget): Don't use declare for the doc-string-elt.
Diffstat (limited to 'lisp/widget.el')
-rw-r--r-- | lisp/widget.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/widget.el b/lisp/widget.el index 1985efb7cd6..f99429b5910 100644 --- a/lisp/widget.el +++ b/lisp/widget.el @@ -71,6 +71,7 @@ ;; :button-face-get :button-face :value-face :keymap :entry-from ;; :entry-to :help-echo :documentation-property :tab-order) +(put 'define-widget 'doc-string-elt 3) ;`declare' doesn't work in functions. (defun define-widget (name class doc &rest args) "Define a new widget type named NAME from CLASS. @@ -85,7 +86,6 @@ create identical widgets: * (apply 'widget-create CLASS ARGS) The third argument DOC is a documentation string for the widget." - (declare (doc-string 3)) (put name 'widget-type (cons class args)) (put name 'widget-documentation doc) name) |