summaryrefslogtreecommitdiff
path: root/src/doc.c
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-10-12 16:11:50 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2012-10-12 16:11:50 -0400
commit06485aa8215af39f9f5f999933aa39d349a2bdf9 (patch)
tree7969cb614e87d05d5d603c52bff9534e2a5ca415 /src/doc.c
parentbd0ffffd5a90e25d32708dd4fec29578648e1fad (diff)
downloademacs-06485aa8215af39f9f5f999933aa39d349a2bdf9.tar.gz
* 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)
}
#endif
if (fd < 0)
- error ("Cannot open doc string file \"%s\"", name);
+ return concat3 (build_string ("Cannot open doc string file \""),
+ file, build_string ("\"\n"));
}
/* Seek only to beginning of disk block. */