diff options
| -rw-r--r-- | lisp/erc/erc-pcomplete.el | 8 |
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." |