diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -3045,7 +3045,7 @@ SUBFEATURE can be used to check a specific subfeature of FEATURE. */) | |||
| 3045 | CHECK_SYMBOL (feature); | 3045 | CHECK_SYMBOL (feature); |
| 3046 | tem = Fmemq (feature, Vfeatures); | 3046 | tem = Fmemq (feature, Vfeatures); |
| 3047 | if (!NILP (tem) && !NILP (subfeature)) | 3047 | if (!NILP (tem) && !NILP (subfeature)) |
| 3048 | tem = Fmemq (subfeature, Fget (feature, Qsubfeatures)); | 3048 | tem = Fmember (subfeature, Fget (feature, Qsubfeatures)); |
| 3049 | return (NILP (tem)) ? Qnil : Qt; | 3049 | return (NILP (tem)) ? Qnil : Qt; |
| 3050 | } | 3050 | } |
| 3051 | 3051 | ||
| @@ -3058,6 +3058,7 @@ particular subfeatures supported in this version of FEATURE. */) | |||
| 3058 | { | 3058 | { |
| 3059 | register Lisp_Object tem; | 3059 | register Lisp_Object tem; |
| 3060 | CHECK_SYMBOL (feature); | 3060 | CHECK_SYMBOL (feature); |
| 3061 | CHECK_LIST (subfeatures); | ||
| 3061 | if (!NILP (Vautoload_queue)) | 3062 | if (!NILP (Vautoload_queue)) |
| 3062 | Vautoload_queue = Fcons (Fcons (Vfeatures, Qnil), Vautoload_queue); | 3063 | Vautoload_queue = Fcons (Fcons (Vfeatures, Qnil), Vautoload_queue); |
| 3063 | tem = Fmemq (feature, Vfeatures); | 3064 | tem = Fmemq (feature, Vfeatures); |