Fixed typo in a condition.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 03 Oct 2020 22:45:06 +0300
changeset 1627 1faf2d1a9cd6
parent 1626 f73d74be1316
child 1628 6630261d42cd
Fixed typo in a condition.
.emacs-my
--- a/.emacs-my	Wed Sep 30 14:11:24 2020 +0300
+++ b/.emacs-my	Sat Oct 03 22:45:06 2020 +0300
@@ -743,9 +743,9 @@
 (defun my--get-char (name)
   "Get character by Unicode `name'."
   (cond
-   ((>= 26 emacs-major-version)
+   ((<= 26 emacs-major-version)
     (gethash name (ucs-names)))
-   ((>= 23 emacs-major-version)
+   ((<= 23 emacs-major-version)
     (cdr (assoc-string name (ucs-names))))
    (t (error "Emacs version is too old and lacks Unicode support..."))))