summaryrefslogtreecommitdiff
path: root/lisp/international/mule-conf.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-08-10 04:07:03 +0000
committerKenichi Handa <handa@m17n.org>1997-08-10 04:07:03 +0000
commitf6eb8ace4f205a3d6cb8d9a638b6e540a57e56bf (patch)
tree678df4c0d8b612ec980d07618eb1ced9ea3dd8b1 /lisp/international/mule-conf.el
parent5cfcd8bc91b66448bbde3b0213b95129c8f83918 (diff)
downloademacs-f6eb8ace4f205a3d6cb8d9a638b6e540a57e56bf.tar.gz
(iso-safe): New coding system.
Diffstat (limited to 'lisp/international/mule-conf.el')
-rw-r--r--lisp/international/mule-conf.el10
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el
index 87b792a3de1..c5fb7aa32f3 100644
--- a/lisp/international/mule-conf.el
+++ b/lisp/international/mule-conf.el
@@ -278,6 +278,16 @@
'((ascii t) nil t nil
nil ascii-eol ascii-cntl nil nil single-shift))
+(make-coding-system
+ 'iso-safe 2 ?-
+ "Convert all characters but ASCII to `?'."
+ '(ascii nil nil nil
+ nil ascii-eol ascii-cntl nil nil nil nil nil nil nil nil t))
+
+;; Use iso-safe for terminal output if some other coding system is
+;; specified explicitely.
+(set-safe-terminal-coding-system-internal 'iso-safe)
+
;; The other coding-systems are defined in each language specific
;; section of languages.el.