Menu

#92 Jabber.el fails of Emacs 27.x because assoc-ignore-case has been removed

Git
open
nobody
None
5
2020-12-29
2020-12-29
No

Emacs 27.x does not contain assoc-ignore-case anymore, but it can be replaced with assoc-string:

--- jabber-util.el~        2020-12-29 10:37:32.215053646 +0100
+++ jabber-util.el 2020-12-29 11:38:28.650711220 +0100
@@ -272,8 +272,8 @@
                            jid-completion-table
                            nil require-match nil 'jabber-jid-history jid-at-point)))
       (setq chosen
-           (if (and input (assoc-ignore-case input jid-completion-table))
-               (symbol-name (cdr (assoc-ignore-case input jid-completion-table)))
+           (if (and input (assoc-string input jid-completion-table t))
+               (symbol-name (cdr (assoc-string input jid-completion-table t)))
              (and (not (zerop (length input)))
                   input))))

Discussion


Log in to post a comment.