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
555e23cf
Commit
555e23cf
authored
Dec 03, 2008
by
Juanma Barranquero
Browse files
* w32-fns.el (w32-list-locales): Use `with-output-to-temp-buffer',
like most list-* commands.
parent
e4fe4569
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/w32-fns.el
lisp/w32-fns.el
+11
-14
No files found.
lisp/ChangeLog
View file @
555e23cf
2008-12-03 Juanma Barranquero <lekktu@gmail.com>
* w32-fns.el (w32-list-locales): Use `with-output-to-temp-buffer',
like most list-* commands.
* international/mule-diag.el (unicodedata-file, unicode-data): Remove.
They already exist in descr-text.el as `describe-char-unicodedata-file'
and `describe-char-unicode-data'.
...
...
lisp/w32-fns.el
View file @
555e23cf
...
...
@@ -219,20 +219,17 @@ You should set this to t when using a non-system shell.\n\n"))))
(
interactive
)
(
when
(
null
w32-valid-locales
)
(
setq
w32-valid-locales
(
sort
(
w32-get-valid-locale-ids
)
#'
<
)))
(
switch-to-buffer-other-window
(
get-buffer-create
"*Supported Locales*"
))
(
erase-buffer
)
(
insert
"LCID\tAbbrev\tFull name\n\n"
)
(
insert
(
decode-coding-string
(
mapconcat
(
lambda
(
x
)
(
format
"%d\t%s\t%s"
x
(
w32-get-locale-info
x
)
(
w32-get-locale-info
x
t
)))
w32-valid-locales
"\n"
)
locale-coding-system
))
(
insert
"\n"
)
(
goto-char
(
point-min
)))
(
with-output-to-temp-buffer
"*Supported Locales*"
(
princ
"LCID\tAbbrev\tFull name\n\n"
)
(
princ
(
decode-coding-string
(
mapconcat
(
lambda
(
x
)
(
format
"%d\t%s\t%s"
x
(
w32-get-locale-info
x
)
(
w32-get-locale-info
x
t
)))
w32-valid-locales
"\n"
)
locale-coding-system
))
(
princ
"\n"
)))
;;; Setup Info-default-directory-list to include the info directory
;;; near where Emacs executable was installed. We used to set INFOPATH,
...
...
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