diff options
| author | Richard M. Stallman | 2006-12-17 22:23:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-12-17 22:23:07 +0000 |
| commit | f690ec33f4bf5a37301321c3caa57edba85211bd (patch) | |
| tree | 329d159e7e462f188e3d77030d88ae090f135e52 | |
| parent | e1f2af9cacadedeb51e3dff4e0154c5618602333 (diff) | |
| download | emacs-f690ec33f4bf5a37301321c3caa57edba85211bd.tar.gz emacs-f690ec33f4bf5a37301321c3caa57edba85211bd.zip | |
(Named Features): Explain subfeatures better.
| -rw-r--r-- | lispref/loading.texi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lispref/loading.texi b/lispref/loading.texi index eb576f8fbbc..150e20275b1 100644 --- a/lispref/loading.texi +++ b/lispref/loading.texi | |||
| @@ -726,8 +726,14 @@ The argument @var{feature} must be a symbol. @code{provide} returns | |||
| 726 | @var{feature}. | 726 | @var{feature}. |
| 727 | 727 | ||
| 728 | If provided, @var{subfeatures} should be a list of symbols indicating | 728 | If provided, @var{subfeatures} should be a list of symbols indicating |
| 729 | a set of specific subfeatures provided by this version of @var{feature}. | 729 | a set of specific subfeatures provided by this version of |
| 730 | You can test the presence of a subfeature using @code{featurep}. | 730 | @var{feature}. You can test the presence of a subfeature using |
| 731 | @code{featurep}. The idea of subfeatures is that you use them when a | ||
| 732 | package (which is one @var{feature}) is complex enough to make it | ||
| 733 | useful to give names to various parts or functionalities of the | ||
| 734 | package, which might or might not be loaded, or might or might not be | ||
| 735 | present in a given version. @xref{Network Feature Testing}, for | ||
| 736 | an example. | ||
| 731 | 737 | ||
| 732 | @smallexample | 738 | @smallexample |
| 733 | features | 739 | features |