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
869331ee
Commit
869331ee
authored
Oct 25, 2002
by
Kenichi Handa
Browse files
(x_set_name): Encode by Qcompound_text unconditionally.
(x_set_title): Likewise.
parent
be354eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/xfns.c
src/xfns.c
+2
-6
No files found.
src/xfns.c
View file @
869331ee
...
...
@@ -2439,9 +2439,7 @@ x_set_name (f, name, explicit)
int bytes, stringp;
Lisp_Object coding_system;
coding_system = Vlocale_coding_system;
if (NILP (coding_system))
coding_system = Qcompound_text;
coding_system = Qcompound_text;
text.value = x_encode_text (name, coding_system, 0, &bytes, &stringp);
text.encoding = (stringp ? XA_STRING
: FRAME_X_DISPLAY_INFO (f)->Xatom_COMPOUND_TEXT);
...
...
@@ -2546,9 +2544,7 @@ x_set_title (f, name, old_name)
int bytes, stringp;
Lisp_Object coding_system;
coding_system = Vlocale_coding_system;
if (NILP (coding_system))
coding_system = Qcompound_text;
coding_system = Qcompound_text;
text.value = x_encode_text (name, coding_system, 0, &bytes, &stringp);
text.encoding = (stringp ? XA_STRING
: FRAME_X_DISPLAY_INFO (f)->Xatom_COMPOUND_TEXT);
...
...
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