aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Pita2016-02-04 17:03:34 +1100
committerLars Ingebrigtsen2016-02-04 17:03:34 +1100
commit66c462005cc873d8e9dee684d525daa036d4f757 (patch)
treee1f2d238a3e3a12f6fd788f0d628dc16c757f3e5
parent8c562b2d7f6378b71e0dcbc172a4dd6673895256 (diff)
downloademacs-66c462005cc873d8e9dee684d525daa036d4f757.tar.gz
emacs-66c462005cc873d8e9dee684d525daa036d4f757.zip
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
-rw-r--r--lisp/erc/erc-pcomplete.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/erc/erc-pcomplete.el b/lisp/erc/erc-pcomplete.el
index cf3f51ba3f6..9f572396de8 100644
--- a/lisp/erc/erc-pcomplete.el
+++ b/lisp/erc/erc-pcomplete.el
@@ -238,10 +238,12 @@ If optional argument IGNORE-SELF is non-nil, don't return the current nick."
238 "Returns a list of all nicks on the current server." 238 "Returns a list of all nicks on the current server."
239 (let (nicks) 239 (let (nicks)
240 (erc-with-server-buffer 240 (erc-with-server-buffer
241 (maphash (lambda (nick _user) 241 (maphash (lambda (_nick user)
242 (setq nicks (cons (concat nick postfix) nicks))) 242 (setq nicks (cons
243 (concat (erc-server-user-nickname user) postfix)
244 nicks)))
243 erc-server-users)) 245 erc-server-users))
244 nicks)) 246 nicks))
245 247
246(defun pcomplete-erc-channels () 248(defun pcomplete-erc-channels ()
247 "Returns a list of channels associated with the current server." 249 "Returns a list of channels associated with the current server."