Mercurial > hg > xemacs-beta
annotate src/gtk-xemacs.h @ 4695:fee33ab25966
Add arglist info for autoloaded functions and macros.
lisp/ChangeLog addition:
2009-09-20 Aidan Kehoe <kehoea@parhasard.net>
Add arglist information to docstrings for autoloaded functions and
macros.
* hyper-apropos.el (hyper-apropos-get-doc):
Treat autoload docstrings like subr docstrings; correct the regexp
used.
* help.el (describe-function-show-arglist):
This no longer treats autoloads specially.
(function-arglist): Treat autoload docstrings like subr docstrings.
(function-documentation): Treat documentation strings that are
zero-length after the arglist has been removed as indicating a
lack of documentation.
* cl-macs.el (case):
(ecase):
(typecase):
(etypecase):
(block):
(return):
(return-from):
(progv):
(lexical-let):
(lexical-let*):
(remf):
(callf):
(callf2):
(define-modify-macro):
(deftype):
(define-compiler-macro):
Rely on the autoload code to always show an arglist for these
functions, don't supply an ad-hoc one in the docstring.
These changes are for the most obvious functions; there are some
missed that would require changing argument names in the docstring
or in the function bodies.
* autoload.el (make-autoload):
Add arg list information to the doc string, using the same
approach as for subrs.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 20 Sep 2009 23:50:05 +0100 |
parents | 543769b89fed |
children | db7068430402 |
rev | line source |
---|---|
462 | 1 /* gtk-xemacs.h |
2 ** | |
3 ** Description: A widget to encapsulate a XEmacs 'text widget' | |
4 ** | |
5 ** Created by: William M. Perry | |
6 ** Copyright (c) 2000 William M. Perry <wmperry@gnu.org> | |
7 ** | |
8 */ | |
9 | |
10 #ifndef __GTK_XEMACS_H__ | |
11 #define __GTK_XEMACS_H__ | |
12 | |
13 #include <config.h> | |
14 #include "frame.h" | |
15 #include <gdk/gdk.h> | |
16 #include <gtk/gtkfixed.h> | |
17 | |
1743 | 18 BEGIN_C_DECLS |
462 | 19 |
20 #define GTK_XEMACS(obj) GTK_CHECK_CAST (obj, gtk_xemacs_get_type (), GtkXEmacs) | |
21 #define GTK_XEMACS_CLASS(klass) GTK_CHECK_CLASS_CAST (klass, gtk_xemacs_get_type (), GtkXEmacsClass) | |
22 #define GTK_IS_XEMACS(obj) GTK_CHECK_TYPE (obj, gtk_xemacs_get_type ()) | |
23 #define GTK_XEMACS_FRAME(obj) GTK_XEMACS (obj)->f | |
24 | |
25 typedef struct _GtkXEmacs GtkXEmacs; | |
26 typedef struct _GtkXEmacsClass GtkXEmacsClass; | |
27 | |
28 struct _GtkXEmacs | |
29 { | |
30 GtkFixed fixed; | |
31 struct frame *f; | |
32 }; | |
33 | |
34 struct _GtkXEmacsClass | |
35 { | |
36 GtkFixedClass parent_class; | |
37 }; | |
38 | |
39 guint gtk_xemacs_get_type (void); | |
40 GtkWidget *gtk_xemacs_new (struct frame *f); | |
41 | |
1743 | 42 END_C_DECLS |
462 | 43 |
44 #endif /* __GTK_XEMACS_H__ */ |