diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -126,6 +126,9 @@ get_doc_string (Lisp_Object filepos, bool unibyte, bool definition) | |||
| 126 | fd = emacs_open (name, O_RDONLY, 0); | 126 | fd = emacs_open (name, O_RDONLY, 0); |
| 127 | if (fd < 0) | 127 | if (fd < 0) |
| 128 | { | 128 | { |
| 129 | if ((errno == EMFILE) || (errno == ENFILE)) | ||
| 130 | report_file_error ("Read error on documentation file", file); | ||
| 131 | |||
| 129 | #ifndef CANNOT_DUMP | 132 | #ifndef CANNOT_DUMP |
| 130 | if (!NILP (Vpurify_flag)) | 133 | if (!NILP (Vpurify_flag)) |
| 131 | { | 134 | { |