diff options
| author | Richard M. Stallman | 2002-04-30 17:46:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-04-30 17:46:40 +0000 |
| commit | bcb31b2a36bee2e377a0ffb15371f3b821315608 (patch) | |
| tree | 833afd78489d1867614c3ef28a30fb23fee0da38 | |
| parent | ab4db096fda2ef9f24ff3efc4fb79baabce68621 (diff) | |
| download | emacs-bcb31b2a36bee2e377a0ffb15371f3b821315608.tar.gz emacs-bcb31b2a36bee2e377a0ffb15371f3b821315608.zip | |
(Frequire): Error if called while preparing to dump.
| -rw-r--r-- | src/fns.c | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -2973,7 +2973,7 @@ is nil and `use-dialog-box' is non-nil. */) | |||
| 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"); |
| @@ -3250,6 +3250,10 @@ The normal messages at start and end of loading FILENAME are suppressed. */) | |||
| 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, |