summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2020-09-13 14:37:54 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2020-09-13 14:41:54 +0200
commite1e93da9a9b668d19806161a29b393140324b4d2 (patch)
treeb3739c5bb776f4e1a88db35f2343e89c75b7688b
parenta6321fd7990f4e8e46e850bf60cc49925592ec2a (diff)
downloademacs-e1e93da9a9b668d19806161a29b393140324b4d2.tar.gz
emacs-e1e93da9a9b668d19806161a29b393140324b4d2.tar.bz2
emacs-e1e93da9a9b668d19806161a29b393140324b4d2.zip
Make `ascii' a coding system alias for `us-ascii'
* lisp/international/mule-conf.el (ascii): Define `ascii' as a coding system alias to `us-ascii' (bug#43351).
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/international/mule-conf.el1
2 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ddc2fb9d600..2fe66be15f0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1295,6 +1295,9 @@ ledit.el, lmenu.el, lucid.el and old-whitespace.el.
* Lisp Changes in Emacs 28.1
+---
+*** 'ascii' is now a coding system alias for 'us-ascii'.
+
+++
*** New function 'file-backup-file-names'.
This function returns the list of file names of all the backup files
diff --git a/lisp/international/mule-conf.el b/lisp/international/mule-conf.el
index edda79ba4ee..c84f0a49901 100644
--- a/lisp/international/mule-conf.el
+++ b/lisp/international/mule-conf.el
@@ -1508,6 +1508,7 @@ for decoding and encoding files, process I/O, etc."
:mime-charset 'us-ascii)
(define-coding-system-alias 'iso-safe 'us-ascii)
+(define-coding-system-alias 'ascii 'us-ascii)
(define-coding-system 'utf-7
"UTF-7 encoding of Unicode (RFC 2152)."