Mercurial > hg > xemacs-beta
annotate nt/installer/Wise/files.py @ 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 | 74fd4e045ea6 |
children |
rev | line source |
---|---|
398 | 1 import os |
2 import dirs | |
3 | |
4 def listdir_recursive(basedir): | |
5 ret = [] | |
6 for f in os.listdir(basedir): | |
7 if os.path.isfile(basedir+"\\"+f): | |
8 ret.append(f) | |
9 elif os.path.isdir(basedir+"\\"+f): | |
10 for f1 in listdir_recursive(basedir+"\\"+f): | |
11 ret.append(f+"\\"+f1) | |
12 return ret | |
13 | |
14 install = [] | |
15 | |
16 for f in os.listdir(dirs.source+"\\lib-src"): | |
17 if f == "DOC" or f[-4:]==".exe": | |
18 install.append((f,dirs.source+"\\lib-src",dirs.bin_dst)) | |
19 | |
20 | |
21 for f in ['runemacs.exe', 'xemacs.exe']: | |
22 install.append((f,dirs.source+"\\src",dirs.bin_dst)) | |
23 | |
24 for f in listdir_recursive(dirs.source+"\\lisp"): | |
25 install.append((f,dirs.source+"\\lisp",dirs.lisp_dst)) | |
26 | |
27 for f in listdir_recursive(dirs.source+"\\etc"): | |
28 install.append((f,dirs.source+"\\etc",dirs.etc_dst)) | |
29 | |
30 | |
31 for f in os.listdir(dirs.source+"\\info"): | |
32 install.append((f,dirs.source+"\\info",dirs.info_dst)) | |
33 | |
34 | |
35 | |
36 |