aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/language
diff options
context:
space:
mode:
authorStefan Kangas2021-12-05 19:09:48 +0100
committerStefan Kangas2021-12-05 19:09:48 +0100
commitfad4049a099486d115fc4d5ef2b7952867b7ca44 (patch)
tree55f140e996d466cfb69b8438d5b9ea40daf2cf64 /lisp/language
parent19307704bd6e73a6740f60459a6b5b58203b6a2f (diff)
downloademacs-fad4049a099486d115fc4d5ef2b7952867b7ca44.tar.gz
emacs-fad4049a099486d115fc4d5ef2b7952867b7ca44.zip
Remove no-op calls to decode-char with 'ucs' arg
* lisp/gnus/mm-util.el (mm-ucs-to-char): * lisp/language/hanja-util.el (hangul-to-hanja-char): * lisp/leim/quail/hangul.el (hangul3-input-method-internal) (hangul390-input-method-internal): * lisp/nxml/rng-cmpct.el (rng-c-process-escapes): * lisp/nxml/xsd-regexp.el (xsdre-compile-single-char) (xsdre-range-list-to-char-alternative): * lisp/xml.el (xml-parse-string, xml--entity-replacement-text) (xml-substitute-special): Remove calls to decode-char where first argument is 'ucs'; that is now a no-op. Discussed in Bug#52263. * lisp/nxml/xmltok.el (xmltok-unicode-to-char): Make into obsolete function alias for 'identity'. Update single caller.
Diffstat (limited to 'lisp/language')
-rw-r--r--lisp/language/hanja-util.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/language/hanja-util.el b/lisp/language/hanja-util.el
index 9e9213536cb..fe6323d42ba 100644
--- a/lisp/language/hanja-util.el
+++ b/lisp/language/hanja-util.el
@@ -6573,8 +6573,8 @@ The value is a hanja character that is selected interactively."
6573 (hanja-filter (lambda (x) (car x)) 6573 (hanja-filter (lambda (x) (car x))
6574 (mapcar (lambda (c) 6574 (mapcar (lambda (c)
6575 (if (listp c) 6575 (if (listp c)
6576 (cons (decode-char 'ucs (car c)) (cdr c)) 6576 (cons (car c) (cdr c))
6577 (list (decode-char 'ucs c)))) 6577 (list c)))
6578 (aref hanja-table char))))) 6578 (aref hanja-table char)))))
6579 (unwind-protect 6579 (unwind-protect
6580 (when (aref hanja-conversions 2) 6580 (when (aref hanja-conversions 2)