Mercurial > emacs
comparison src/fns.c @ 45037:8fe017cea042
(Frequire): Error if called while preparing to dump.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 30 Apr 2002 17:46:40 +0000 |
parents | c7134e583184 |
children | ed0ad59e4ec7 |
comparison
equal
deleted
inserted
replaced
45036:184909bcbc7b | 45037:8fe017cea042 |
---|---|
2971 choose_minibuf_frame (); | 2971 choose_minibuf_frame (); |
2972 | 2972 |
2973 { | 2973 { |
2974 Lisp_Object pargs[3]; | 2974 Lisp_Object pargs[3]; |
2975 | 2975 |
2976 /* Colorize prompt accordingly to `minibuffer-prompt' face. */ | 2976 /* Colorize prompt according to `minibuffer-prompt' face. */ |
2977 pargs[0] = build_string ("%s(y or n) "); | 2977 pargs[0] = build_string ("%s(y or n) "); |
2978 pargs[1] = intern ("face"); | 2978 pargs[1] = intern ("face"); |
2979 pargs[2] = intern ("minibuffer-prompt"); | 2979 pargs[2] = intern ("minibuffer-prompt"); |
2980 args[0] = Fpropertize (3, pargs); | 2980 args[0] = Fpropertize (3, pargs); |
2981 args[1] = xprompt; | 2981 args[1] = xprompt; |
3248 | 3248 |
3249 if (NILP (tem)) | 3249 if (NILP (tem)) |
3250 { | 3250 { |
3251 int count = specpdl_ptr - specpdl; | 3251 int count = specpdl_ptr - specpdl; |
3252 int nesting = 0; | 3252 int nesting = 0; |
3253 | |
3254 if (! NILP (Vpurify_flag)) | |
3255 error ("(require %s) while preparing to dump", | |
3256 XSYMBOL (feature)->name->data); | |
3253 | 3257 |
3254 /* A certain amount of recursive `require' is legitimate, | 3258 /* A certain amount of recursive `require' is legitimate, |
3255 but if we require the same feature recursively 3 times, | 3259 but if we require the same feature recursively 3 times, |
3256 signal an error. */ | 3260 signal an error. */ |
3257 tem = require_nesting_list; | 3261 tem = require_nesting_list; |