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
792e773a
Commit
792e773a
authored
May 27, 1995
by
Karl Heuer
Browse files
(Info-directory-list): Use path-separator.
parent
b525816e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
lisp/info.el
lisp/info.el
+1
-4
No files found.
lisp/info.el
View file @
792e773a
...
...
@@ -55,16 +55,13 @@ in paths.el.")
(
defvar
Info-directory-list
(
let
((
path
(
getenv
"INFOPATH"
))
(
sep
(
if
(
or
(
eq
system-type
'ms-dos
)
(
eq
system-type
'windows-nt
))
";"
":"
))
(
sibling
(
if
installation-directory
(
expand-file-name
"info/"
installation-directory
))))
(
if
path
(
let
((
list
nil
)
idx
)
(
while
(
>
(
length
path
)
0
)
(
setq
idx
(
or
(
string-match
sep
path
)
(
length
path
))
(
setq
idx
(
or
(
string-match
path-separator
path
)
(
length
path
))
list
(
cons
(
substring
path
0
idx
)
list
)
path
(
substring
path
(
min
(
1+
idx
)
(
length
path
)))))
...
...
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