Make complection in erc use consistent casing
* lisp/erc/erc-pcomplete.el (pcomplete-erc-all-nicks): Make case in the complection consistent (bug#18509). Copyright-paperwork-exempt: Yes
This commit is contained in:
parent
8c562b2d7f
commit
66c462005c
1 changed files with 5 additions and 3 deletions
|
@ -238,10 +238,12 @@ If optional argument IGNORE-SELF is non-nil, don't return the current nick."
|
||||||
"Returns a list of all nicks on the current server."
|
"Returns a list of all nicks on the current server."
|
||||||
(let (nicks)
|
(let (nicks)
|
||||||
(erc-with-server-buffer
|
(erc-with-server-buffer
|
||||||
(maphash (lambda (nick _user)
|
(maphash (lambda (_nick user)
|
||||||
(setq nicks (cons (concat nick postfix) nicks)))
|
(setq nicks (cons
|
||||||
|
(concat (erc-server-user-nickname user) postfix)
|
||||||
|
nicks)))
|
||||||
erc-server-users))
|
erc-server-users))
|
||||||
nicks))
|
nicks))
|
||||||
|
|
||||||
(defun pcomplete-erc-channels ()
|
(defun pcomplete-erc-channels ()
|
||||||
"Returns a list of channels associated with the current server."
|
"Returns a list of channels associated with the current server."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue