diff options
| author | Miles Bader | 2001-10-21 15:20:42 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-10-21 15:20:42 +0000 |
| commit | 512ca171d4d3bef1c35fd85eba3b85dac3c9a8b3 (patch) | |
| tree | d059bf7303fba7844f4f1d04a0d4fe0c53577c07 /src/doc.c | |
| parent | a58d71cbdd1ce9a10bc25ae34ec1dbde16a6a3d7 (diff) | |
| download | emacs-512ca171d4d3bef1c35fd85eba3b85dac3c9a8b3.tar.gz emacs-512ca171d4d3bef1c35fd85eba3b85dac3c9a8b3.zip | |
(Vhelp_manyarg_func_alist): Variable removed.
(Fdocumentation): Don't use it.
(syms_of_doc): Don't initialize it.
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 10 |
1 files changed, 1 insertions, 9 deletions
| @@ -46,7 +46,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 46 | extern char *index P_ ((const char *, int)); | 46 | extern char *index P_ ((const char *, int)); |
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
| 49 | Lisp_Object Vdoc_file_name, Vhelp_manyarg_func_alist; | 49 | Lisp_Object Vdoc_file_name; |
| 50 | 50 | ||
| 51 | Lisp_Object Qfunction_documentation; | 51 | Lisp_Object Qfunction_documentation; |
| 52 | 52 | ||
| @@ -331,8 +331,6 @@ string is passed through `substitute-command-keys'.") | |||
| 331 | else | 331 | else |
| 332 | doc = get_doc_string (make_number (- (EMACS_INT) XSUBR (fun)->doc), | 332 | doc = get_doc_string (make_number (- (EMACS_INT) XSUBR (fun)->doc), |
| 333 | 0, 0); | 333 | 0, 0); |
| 334 | if (! NILP (tem = Fassq (function, Vhelp_manyarg_func_alist))) | ||
| 335 | doc = concat3 (doc, build_string ("\n"), Fcdr (tem)); | ||
| 336 | } | 334 | } |
| 337 | else if (COMPILEDP (fun)) | 335 | else if (COMPILEDP (fun)) |
| 338 | { | 336 | { |
| @@ -819,12 +817,6 @@ syms_of_doc () | |||
| 819 | DEFVAR_LISP ("internal-doc-file-name", &Vdoc_file_name, | 817 | DEFVAR_LISP ("internal-doc-file-name", &Vdoc_file_name, |
| 820 | "Name of file containing documentation strings of built-in symbols."); | 818 | "Name of file containing documentation strings of built-in symbols."); |
| 821 | Vdoc_file_name = Qnil; | 819 | Vdoc_file_name = Qnil; |
| 822 | DEFVAR_LISP ("help-manyarg-func-alist", &Vhelp_manyarg_func_alist, | ||
| 823 | "Alist of primitive functions and descriptions of their arg lists.\n\ | ||
| 824 | All special forms and primitives which effectively have &rest args\n\ | ||
| 825 | should have an entry here so that `documentation' can provide their\n\ | ||
| 826 | arg list."); | ||
| 827 | Vhelp_manyarg_func_alist = Qnil; | ||
| 828 | 820 | ||
| 829 | defsubr (&Sdocumentation); | 821 | defsubr (&Sdocumentation); |
| 830 | defsubr (&Sdocumentation_property); | 822 | defsubr (&Sdocumentation_property); |