emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 76bbb7e: Remove two functions obsolete since Emacs 23


From: Stefan Kangas
Subject: master 76bbb7e: Remove two functions obsolete since Emacs 23
Date: Fri, 3 Dec 2021 13:28:48 -0500 (EST)

branch: master
commit 76bbb7e648d46cfdc73675eb6e5f52e146f4c368
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Remove two functions obsolete since Emacs 23
    
    * lisp/international/mule-cmds.el (unify-8859-on-encoding-mode)
    (unify-8859-on-decoding-mode): Remove functions obsolete since
    Emacs 23.
    * lisp/nxml/xsd-regexp.el: Doc fix.
---
 etc/NEWS                        |  3 +++
 lisp/international/mule-cmds.el | 16 ----------------
 lisp/nxml/xsd-regexp.el         |  3 ---
 3 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 8dadd3d..4ed3350 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -767,6 +767,9 @@ Use 'exif-parse-file' and 'exif-field' instead.
 ** 'insert-directory' alternatives should not change the free disk space line.
 This change is now applied in 'dired-insert-directory'.
 
+** Some functions obsolete since Emacs 23 have been removed:
+'unify-8859-on-encoding-mode', 'unify-8859-on-decoding-mode'.
+
 
 * Lisp Changes in Emacs 29.1
 
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index 9f3f2a2..b84d9e0 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -3077,22 +3077,6 @@ on encoding."
                 0))
        (substring enc2 i0 i2)))))
 
-;; Backwards compatibility.  These might be better with :init-value t,
-;; but that breaks loadup.
-(define-minor-mode unify-8859-on-encoding-mode
-  "Exists only for backwards compatibility."
-  :group 'mule
-  :global t)
-;; Doc said "obsolete" in 23.1, this statement only added in 24.1.
-(make-obsolete 'unify-8859-on-encoding-mode "don't use it." "23.1")
-
-(define-minor-mode unify-8859-on-decoding-mode
-  "Exists only for backwards compatibility."
-  :group 'mule
-  :global t)
-;; Doc said "obsolete" in 23.1, this statement only added in 24.1.
-(make-obsolete 'unify-8859-on-decoding-mode "don't use it." "23.1")
-
 (defvar ucs-names nil
   "Hash table of cached CHAR-NAME keys to CHAR-CODE values.")
 
diff --git a/lisp/nxml/xsd-regexp.el b/lisp/nxml/xsd-regexp.el
index f07ca66..3c29803 100644
--- a/lisp/nxml/xsd-regexp.el
+++ b/lisp/nxml/xsd-regexp.el
@@ -52,9 +52,6 @@
 ;; or a character translatable to such a character (i.e a character
 ;; for which `encode-char' will return non-nil).
 ;;
-;; Using unify-8859-on-decoding-mode is probably a good idea here
-;; (and generally with XML and other Unicode-oriented formats).
-;;
 ;; Unfortunately, this means that this package is currently useless
 ;; for CJK characters, since there's no mule-unicode charset for the
 ;; CJK ranges of Unicode.  We should devise a workaround for this



reply via email to

[Prev in Thread] Current Thread [Next in Thread]