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
80667d53
Commit
80667d53
authored
Aug 08, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(init_lread): Normally put Vinvocation_directory
at end of Vload_path, if not present already.
parent
53a05194
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
src/lread.c
src/lread.c
+14
-1
No files found.
src/lread.c
View file @
80667d53
...
...
@@ -1784,7 +1784,20 @@ init_lread ()
dump_path
=
decode_env_path
(
0
,
PATH_DUMPLOADSEARCH
);
if
(
!
NILP
(
Fequal
(
dump_path
,
Vload_path
)))
{
Vload_path
=
decode_env_path
(
0
,
normal
);
if
(
!
NILP
(
Vinvocation_directory
))
{
/* Add to the path the ../lisp dir of the Emacs executable,
if that dir exists. */
Lisp_Object
tem
,
tem1
;
tem
=
Fexpand_file_name
(
build_string
(
"../lisp"
),
Vinvocation_directory
);
tem1
=
Ffile_exists_p
(
tem
);
if
(
!
NILP
(
tem1
)
&&
NILP
(
Fmember
(
tem
,
Vload_path
)))
Vload_path
=
nconc2
(
Vload_path
,
Fcons
(
tem
,
Qnil
));
}
}
}
else
Vload_path
=
decode_env_path
(
0
,
normal
);
...
...
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