diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/lread.c b/src/lread.c index 57410a71d78..385a73d5af6 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -326,16 +326,7 @@ Return t if file exists.") | |||
| 326 | /* If file name is magic, call the handler. */ | 326 | /* If file name is magic, call the handler. */ |
| 327 | handler = Ffind_file_name_handler (str); | 327 | handler = Ffind_file_name_handler (str); |
| 328 | if (!NILP (handler)) | 328 | if (!NILP (handler)) |
| 329 | { | 329 | return call5 (handler, Qload, str, noerror, nomessage, nosuffix); |
| 330 | Lisp_Object args[6]; | ||
| 331 | args[0] = handler; | ||
| 332 | args[1] = Qload; | ||
| 333 | args[2] = str; | ||
| 334 | args[3] = noerror; | ||
| 335 | args[4] = nomessage; | ||
| 336 | args[5] = nosuffix; | ||
| 337 | return Ffuncall (6, args); | ||
| 338 | } | ||
| 339 | 330 | ||
| 340 | /* Avoid weird lossage with null string as arg, | 331 | /* Avoid weird lossage with null string as arg, |
| 341 | since it would try to load a directory as a Lisp file */ | 332 | since it would try to load a directory as a Lisp file */ |