diff options
Diffstat (limited to 'src/doc.c')
| -rw-r--r-- | src/doc.c | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -7,8 +7,8 @@ This file is part of GNU Emacs. | |||
| 7 | 7 | ||
| 8 | GNU Emacs is free software: you can redistribute it and/or modify | 8 | GNU Emacs is free software: you can redistribute it and/or modify |
| 9 | it under the terms of the GNU General Public License as published by | 9 | it under the terms of the GNU General Public License as published by |
| 10 | the Free Software Foundation, either version 3 of the License, or | 10 | the Free Software Foundation, either version 3 of the License, or (at |
| 11 | (at your option) any later version. | 11 | your option) any later version. |
| 12 | 12 | ||
| 13 | GNU Emacs is distributed in the hope that it will be useful, | 13 | GNU Emacs is distributed in the hope that it will be useful, |
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| @@ -138,6 +138,9 @@ get_doc_string (Lisp_Object filepos, bool unibyte, bool definition) | |||
| 138 | #endif | 138 | #endif |
| 139 | if (fd < 0) | 139 | if (fd < 0) |
| 140 | { | 140 | { |
| 141 | if (errno == EMFILE || errno == ENFILE) | ||
| 142 | report_file_error ("Read error on documentation file", file); | ||
| 143 | |||
| 141 | SAFE_FREE (); | 144 | SAFE_FREE (); |
| 142 | AUTO_STRING (cannot_open, "Cannot open doc string file \""); | 145 | AUTO_STRING (cannot_open, "Cannot open doc string file \""); |
| 143 | AUTO_STRING (quote_nl, "\"\n"); | 146 | AUTO_STRING (quote_nl, "\"\n"); |
| @@ -716,7 +719,7 @@ is not on any keys. | |||
| 716 | Each substring of the form \\=\\{MAPVAR} is replaced by a summary of | 719 | Each substring of the form \\=\\{MAPVAR} is replaced by a summary of |
| 717 | the value of MAPVAR as a keymap. This summary is similar to the one | 720 | the value of MAPVAR as a keymap. This summary is similar to the one |
| 718 | produced by `describe-bindings'. The summary ends in two newlines | 721 | produced by `describe-bindings'. The summary ends in two newlines |
| 719 | (used by the helper function `help-make-xrefs' to find the end of the | 722 | \(used by the helper function `help-make-xrefs' to find the end of the |
| 720 | summary). | 723 | summary). |
| 721 | 724 | ||
| 722 | Each substring of the form \\=\\<MAPVAR> specifies the use of MAPVAR | 725 | Each substring of the form \\=\\<MAPVAR> specifies the use of MAPVAR |