aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Marshall1997-10-23 14:58:25 +0000
committerSimon Marshall1997-10-23 14:58:25 +0000
commitdb5cae4b2d64e5ee3499a4d430816df3d0f0e2a2 (patch)
tree7b1eed8a1a016b2541d99bc225cd01610bd7e70b /src
parent837984b11bfe8e25965b89fcfad0112f1f4c52dc (diff)
downloademacs-db5cae4b2d64e5ee3499a4d430816df3d0f0e2a2.tar.gz
emacs-db5cae4b2d64e5ee3499a4d430816df3d0f0e2a2.zip
Indicate in messages if source code is being loaded.
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;