aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorStefan Monnier2012-10-12 16:11:50 -0400
committerStefan Monnier2012-10-12 16:11:50 -0400
commit06485aa8215af39f9f5f999933aa39d349a2bdf9 (patch)
tree7969cb614e87d05d5d603c52bff9534e2a5ca415 /src/doc.c
parentbd0ffffd5a90e25d32708dd4fec29578648e1fad (diff)
downloademacs-06485aa8215af39f9f5f999933aa39d349a2bdf9.tar.gz
emacs-06485aa8215af39f9f5f999933aa39d349a2bdf9.zip
* src/doc.c (get_doc_string): Don't signal an error if the file is missing.
* lisp/help-fns.el (describe-variable, describe-function-1): * lisp/help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc.c b/src/doc.c
index d2d664df266..9ead1addfba 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -144,7 +144,8 @@ get_doc_string (Lisp_Object filepos, bool unibyte, bool definition)
144 } 144 }
145#endif 145#endif
146 if (fd < 0) 146 if (fd < 0)
147 error ("Cannot open doc string file \"%s\"", name); 147 return concat3 (build_string ("Cannot open doc string file \""),
148 file, build_string ("\"\n"));
148 } 149 }
149 150
150 /* Seek only to beginning of disk block. */ 151 /* Seek only to beginning of disk block. */