Make ERC use completion-at-point
commitd4aa710a1577e9d00f0ed2afdcfc799719d614a0
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Apr 2011 13:50:09 +0000 (26 10:50 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 26 Apr 2011 13:50:09 +0000 (26 10:50 -0300)
treeb8a18ed0bcd48a2aa82d8c186606c19bed102cf0
parent6a7a1b0b746d9e07f98183a0abb1298464dd1f29
Make ERC use completion-at-point
* lisp/erc/erc.el (erc-mode-map): Use completion-at-point.
(erc-mode): Tell completion-at-point to obey erc-complete-functions.
(erc-complete-word-at-point): New function.
(erc-complete-word): Make it obsolete.
* lisp/erc/erc-pcomplete.el (erc-pcompletions-at-point): New function.
(pcomplete): Use it.
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode-map): Use completion-at-point.
(erc-dcc-chat-mode): Tell completion-at-point to obey
erc-complete-functions.
* lisp/erc/erc-button.el (erc-button-next-function): New function extracted from
erc-button-next.
(button, erc-button-next): Use it.
lisp/erc/ChangeLog
lisp/erc/erc-button.el
lisp/erc/erc-dcc.el
lisp/erc/erc-pcomplete.el
lisp/erc/erc.el