aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/w32-fns.el15
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index 7dd98e49e30..79b4e5c3007 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -291,17 +291,22 @@ with a definition that really does change some file names."
291 "Set the coding system used by the Windows System to CODING-SYSTEM. 291 "Set the coding system used by the Windows System to CODING-SYSTEM.
292This is used for things like passing font names with non-ASCII 292This is used for things like passing font names with non-ASCII
293characters in them to the system. For a list of possible values of 293characters in them to the system. For a list of possible values of
294CODING-SYSTEM, use \\[list-coding-systems]." 294CODING-SYSTEM, use \\[list-coding-systems].
295
296This function is provided for backward compatibility, since
297w32-system-coding-system is now an alias for `locale-coding-system'."
295 (interactive 298 (interactive
296 (list (let ((default w32-system-coding-system)) 299 (list (let ((default locale-coding-system))
297 (read-coding-system 300 (read-coding-system
298 (format "Coding system for system calls (default, %s): " 301 (format "Coding system for system calls (default, %s): "
299 default) 302 default)
300 default)))) 303 default))))
301 (check-coding-system coding-system) 304 (check-coding-system coding-system)
302 (setq w32-system-coding-system coding-system)) 305 (setq locale-coding-system coding-system))
303;; Set system coding system initially to iso-latin-1 306
304(set-w32-system-coding-system 'iso-latin-1) 307;; locale-coding-system was introduced to do the same thing as
308;; w32-system-coding-system. Use that instead.
309(defvaralias 'w32-system-coding-system 'locale-coding-system)
305 310
306;;; Set to a system sound if you want a fancy bell. 311;;; Set to a system sound if you want a fancy bell.
307(set-message-beep nil) 312(set-message-beep nil)