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
Open sidebar
emacs
emacs
Commits
0e7f9b35
Commit
0e7f9b35
authored
May 09, 1995
by
Richard M. Stallman
Browse files
(Info-directory-list): Use installation-directory,
not invocation-directory. Cope if it is nil.
parent
60558b19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/info.el
lisp/info.el
+6
-4
No files found.
lisp/info.el
View file @
0e7f9b35
...
...
@@ -58,7 +58,8 @@ in paths.el.")
(
sep
(
if
(
or
(
eq
system-type
'ms-dos
)
(
eq
system-type
'windows-nt
))
";"
":"
))
(
sibling
(
expand-file-name
"../info/"
(
invocation-directory
))))
(
sibling
(
if
installation-directory
(
expand-file-name
"info/"
installation-directory
))))
(
if
path
(
let
((
list
nil
)
idx
)
...
...
@@ -68,7 +69,8 @@ in paths.el.")
path
(
substring
path
(
min
(
1+
idx
)
(
length
path
)))))
(
nreverse
list
))
(
if
(
or
(
member
sibling
Info-default-directory-list
)
(
if
(
or
(
null
sibling
)
(
member
sibling
Info-default-directory-list
)
(
not
(
file-exists-p
sibling
))
;; On DOS/NT, we use movable executables always,
;; and we must always find the Info dir at run time.
...
...
@@ -77,8 +79,8 @@ in paths.el.")
;; Use invocation-directory for Info only if we used it for
;; exec-directory also.
(
not
(
string=
exec-directory
(
expand-file-name
"
../
lib-src/"
(
in
voc
ation-directory
)))))
)
(
expand-file-name
"lib-src/"
in
stall
ation-directory
)))))
Info-default-directory-list
(
reverse
(
cons
sibling
(
cdr
(
reverse
Info-default-directory-list
)))))))
"List of directories to search for Info documentation files.
...
...
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