aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lread.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lread.c b/src/lread.c
index 62886190fb2..725ebef4a0b 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -534,12 +534,12 @@ Return t if file exists.")
534 534
535 if (NILP (nomessage)) 535 if (NILP (nomessage))
536 { 536 {
537 if (newer) 537 if (!compiled)
538 message ("Loading %s (source)...", XSTRING (file)->data);
539 else if (newer)
538 message ("Loading %s (compiled; note, source file is newer)...", 540 message ("Loading %s (compiled; note, source file is newer)...",
539 XSTRING (file)->data); 541 XSTRING (file)->data);
540 else if (compiled) 542 else /* The typical case; compiled file newer than source file. */
541 message ("Loading %s (compiled)...", XSTRING (file)->data);
542 else
543 message ("Loading %s...", XSTRING (file)->data); 543 message ("Loading %s...", XSTRING (file)->data);
544 } 544 }
545 545
@@ -570,12 +570,12 @@ Return t if file exists.")
570 570
571 if (!noninteractive && NILP (nomessage)) 571 if (!noninteractive && NILP (nomessage))
572 { 572 {
573 if (newer) 573 if (!compiled)
574 message ("Loading %s (source)...done", XSTRING (file)->data);
575 else if (newer)
574 message ("Loading %s (compiled; note, source file is newer)...done", 576 message ("Loading %s (compiled; note, source file is newer)...done",
575 XSTRING (file)->data); 577 XSTRING (file)->data);
576 else if (compiled) 578 else /* The typical case; compiled file newer than source file. */
577 message ("Loading %s (compiled)...done", XSTRING (file)->data);
578 else
579 message ("Loading %s...done", XSTRING (file)->data); 579 message ("Loading %s...done", XSTRING (file)->data);
580 } 580 }
581 return Qt; 581 return Qt;