Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
51ac6f83
Commit
51ac6f83
authored
Jan 10, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fload): If warn that .elc file is older,
inhibit the ordinary message that would follow.
parent
487fcdc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
src/lread.c
src/lread.c
+10
-3
No files found.
src/lread.c
View file @
51ac6f83
...
...
@@ -302,6 +302,8 @@ Return t if file exists.")
Lisp_Object
temp
;
struct
gcpro
gcpro1
;
Lisp_Object
found
;
/* 1 means inhibit the message at the beginning. */
int
nomessage1
=
0
;
CHECK_STRING
(
str
,
0
);
str
=
Fsubstitute_in_file_name
(
str
);
...
...
@@ -334,8 +336,13 @@ Return t if file exists.")
XSTRING
(
found
)
->
data
[
XSTRING
(
found
)
->
size
-
1
]
=
0
;
result
=
stat
(
XSTRING
(
found
)
->
data
,
&
s2
);
if
(
result
>=
0
&&
(
unsigned
)
s1
.
st_mtime
<
(
unsigned
)
s2
.
st_mtime
)
message
(
"Source file `%s' newer than byte-compiled file"
,
XSTRING
(
found
)
->
data
);
{
message
(
"Source file `%s' newer than byte-compiled file"
,
XSTRING
(
found
)
->
data
);
/* Don't immediately overwrite this message. */
if
(
!
noninteractive
)
nomessage1
=
1
;
}
XSTRING
(
found
)
->
data
[
XSTRING
(
found
)
->
size
-
1
]
=
'c'
;
}
...
...
@@ -346,7 +353,7 @@ Return t if file exists.")
error
(
"Failure to create stdio stream for %s"
,
XSTRING
(
str
)
->
data
);
}
if
(
NILP
(
nomessage
))
if
(
NILP
(
nomessage
)
&&
!
nomessage1
)
message
(
"Loading %s..."
,
XSTRING
(
str
)
->
data
);
GCPRO1
(
str
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment