aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/widget.el
diff options
context:
space:
mode:
authorPer Abrahamsen1997-04-24 16:53:55 +0000
committerPer Abrahamsen1997-04-24 16:53:55 +0000
commit6d528fc505f6be1e67f87834bdde19cf4bbe05ff (patch)
tree10684dfedc376c7ed84936112fd4bb2227c0342c /lisp/widget.el
parentee82af565d241057341ba3c84505149e2213f416 (diff)
downloademacs-6d528fc505f6be1e67f87834bdde19cf4bbe05ff.tar.gz
emacs-6d528fc505f6be1e67f87834bdde19cf4bbe05ff.zip
Synched with custom 1.90.
Diffstat (limited to 'lisp/widget.el')
-rw-r--r--lisp/widget.el13
1 files changed, 8 insertions, 5 deletions
diff --git a/lisp/widget.el b/lisp/widget.el
index e4ee2ffd584..4905c06b70a 100644
--- a/lisp/widget.el
+++ b/lisp/widget.el
@@ -4,7 +4,7 @@
4;; 4;;
5;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 5;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
6;; Keywords: help, extensions, faces, hypermedia 6;; Keywords: help, extensions, faces, hypermedia
7;; Version: 1.84 7;; Version: 1.90
8;; X-URL: http://www.dina.kvl.dk/~abraham/custom/ 8;; X-URL: http://www.dina.kvl.dk/~abraham/custom/
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
@@ -44,8 +44,8 @@
44 (set (car keywords) (car keywords))) 44 (set (car keywords) (car keywords)))
45 (setq keywords (cdr keywords))))))) 45 (setq keywords (cdr keywords)))))))
46 46
47(define-widget-keywords :text-format :deactivate :active :inactive 47(define-widget-keywords :prompt-value :text-format :deactivate :active
48 :activate :sibling-args :delete-button-args 48 :inactive :activate :sibling-args :delete-button-args
49 :insert-button-args :append-button-args :button-args 49 :insert-button-args :append-button-args :button-args
50 :tag-glyph :off-glyph :on-glyph :valid-regexp 50 :tag-glyph :off-glyph :on-glyph :valid-regexp
51 :secret :sample-face :sample-face-get :case-fold :widget-doc 51 :secret :sample-face :sample-face-get :case-fold :widget-doc
@@ -66,9 +66,11 @@
66 (autoload 'widget-apply "wid-edit") 66 (autoload 'widget-apply "wid-edit")
67 (autoload 'widget-create "wid-edit") 67 (autoload 'widget-create "wid-edit")
68 (autoload 'widget-insert "wid-edit") 68 (autoload 'widget-insert "wid-edit")
69 (autoload 'widget-prompt-value "wid-edit")
69 (autoload 'widget-browse "wid-browse" nil t) 70 (autoload 'widget-browse "wid-browse" nil t)
70 (autoload 'widget-browse-other-window "wid-browse" nil t) 71 (autoload 'widget-browse-other-window "wid-browse" nil t)
71 (autoload 'widget-browse-at "wid-browse" nil t)) 72 (autoload 'widget-browse-at "wid-browse" nil t)
73 (autoload 'widget-minor-mode "wid-browse" nil t))
72 74
73(defun define-widget (name class doc &rest args) 75(defun define-widget (name class doc &rest args)
74 "Define a new widget type named NAME from CLASS. 76 "Define a new widget type named NAME from CLASS.
@@ -85,7 +87,8 @@ create identical widgets:
85 87
86The third argument DOC is a documentation string for the widget." 88The third argument DOC is a documentation string for the widget."
87 (put name 'widget-type (cons class args)) 89 (put name 'widget-type (cons class args))
88 (put name 'widget-documentation doc)) 90 (put name 'widget-documentation doc)
91 name)
89 92
90;;; The End. 93;;; The End.
91 94