Mercurial > hg > xemacs-beta
annotate lisp/loadup-el.el @ 5070:b0f4adffca7d
fix so that CL docstrings (with &key, etc.) handled properly
-------------------- ChangeLog entries follow: --------------------
lisp/ChangeLog addition:
2010-02-23 Ben Wing <ben@xemacs.org>
* autoload.el:
* autoload.el (make-autoload):
* cl-macs.el (cl-function-arglist):
* cl-macs.el (cl-transform-lambda):
Don't add argument list with the tag "Common Lisp lambda list:";
instead add in "standard" form using "arguments:" and omitting the
function name. Add an arg to `cl-function-arglist' to omit the
name and use it in autoload.el instead of just hacking it off.
* help.el:
* help.el (function-arglist):
* help.el (function-documentation-1): New.
Extract out common code to recognize and/or strip the arglist from
documentation into `function-documentation-1'. Use in
`function-arglist' and `function-documentation'. Modify
`function-arglist' so it looks for the `arguments: ' stuff in all
doc strings, not just subrs/autoloads, so that CL functions get
recognized properly. Change the regexp used to match "arguments: "
specs to allow nested parens inside the arg list (happens when you
have a default value specified in a CL arglist).
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Tue, 23 Feb 2010 01:12:13 -0600 |
parents | 41ff10fd062f |
children | 308d34e9f07d |
rev | line source |
---|---|
209 | 1 ;; This file is part of XEmacs. |
2 | |
3 ;; XEmacs is free software; you can redistribute it and/or modify it | |
4 ;; under the terms of the GNU General Public License as published by | |
5 ;; the Free Software Foundation; either version 2, or (at your option) | |
6 ;; any later version. | |
7 | |
8 ;; XEmacs is distributed in the hope that it will be useful, but | |
9 ;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
10 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
11 ;; General Public License for more details. | |
12 | |
13 ;; You should have received a copy of the GNU General Public License | |
14 ;; along with XEmacs; see the file COPYING. If not, write to the | |
15 ;; Free Software Foundation, 59 Temple Place - Suite 330, | |
16 ;; Boston, MA 02111-1307, USA. | |
17 | |
18 ;;; Synched up with: Not in FSF. | |
19 | |
20 ; always take .el files. | |
21 ; don't put stuff into pure segment to avoid pure-space-exceeded error. | |
22 | |
23 (let ((load-ignore-elc-files t) | |
24 (purify-flag nil)) | |
25 (load "loadup.el")) |