diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2010-12-30 12:30:55 +0100 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2010-12-30 12:30:55 +0100 |
commit | 5bbb4727aa8adca6e1dac35dd7c1ed21ffd24e02 (patch) | |
tree | 7dea21b2e4113414229b1be1d88debd640370f04 /src/coding.h | |
parent | b191c9d952321d72a39937847eabb8ff492cbde0 (diff) | |
download | emacs-5bbb4727aa8adca6e1dac35dd7c1ed21ffd24e02.tar.gz |
Encode frame title and icon name before setting.
* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.
* nsfns.m (ns_set_name_iconic): Remove.
(ns_set_name_internal): New function.
(Vicon_title_format): Extern declare.
(ns_set_name): Call ns_set_name_internal.
(x_explicitly_set_name): Remove call to ns_set_name_iconic.
(x_implicitly_set_name): Ditto.
(x_set_title): Remove commet about EXPLICIT. Call ns_set_name_internal.
(ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).
Diffstat (limited to 'src/coding.h')
-rw-r--r-- | src/coding.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/coding.h b/src/coding.h index 7233726a250..a69f3c938fb 100644 --- a/src/coding.h +++ b/src/coding.h @@ -686,8 +686,7 @@ struct coding_system ? code_convert_string_norecord (str, Vlocale_coding_system, 0) \ : str) -/* Used by the gtk menu code. Note that this encodes utf-8, not - utf-8-emacs, so it's not a no-op. */ +/* Note that this encodes utf-8, not utf-8-emacs, so it's not a no-op. */ #define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) /* Extern declarations. */ |