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
b135bd4c
Commit
b135bd4c
authored
Feb 26, 2002
by
Eli Zaretskii
Browse files
(Fsubstitute_in_file_name): Fix the change from 2002-02-08.
parent
16425473
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
src/ChangeLog
src/ChangeLog
+3
-0
src/fileio.c
src/fileio.c
+2
-2
No files found.
src/ChangeLog
View file @
b135bd4c
2002-02-26 Eli Zaretskii <eliz@is.elta.co.il>
* fileio.c (Fsubstitute_in_file_name): Fix the change from
2002-02-08.
* xselect.c (Qcompound_text_with_extensions): Renamed from
Qcompound_text_no_extensions.
(lisp_data_to_selection_data, syms_of_xselect): Use the new name.
...
...
src/fileio.c
View file @
b135bd4c
...
...
@@ -2069,7 +2069,7 @@ duplicates what `expand-file-name' does. */)
&&
*
s
!=
':'
#endif
/* VMS */
);
s
++
);
if
(
s
>
p
+
1
)
if
(
p
[
0
]
==
'~'
&&
s
>
p
+
1
)
/* we've got "/~something/" */
{
o
=
(
unsigned
char
*
)
alloca
(
s
-
p
+
1
);
bcopy
((
char
*
)
p
,
o
,
s
-
p
);
...
...
@@ -2080,7 +2080,7 @@ duplicates what `expand-file-name' does. */)
/* If we have ~/ or ~user and `user' exists, discard
everything up to ~. But if `user' does not exist, leave
~user alone, it might be a literal file name. */
if
(
s
==
p
+
1
||
pw
)
if
(
IS_DIRECTORY_SEP
(
p
[
0
])
||
s
==
p
+
1
||
pw
)
{
nm
=
p
;
substituted
=
1
;
...
...
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