Commit 7f851ea4 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* lisp/erc/erc-pcomplete.el (erc-pcomplete): Set this-command.

parent 1d01ad41
2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
* erc-pcomplete.el (erc-pcomplete): Set this-command.
2013-09-21 Glenn Morris <rgm@gnu.org>
* erc.el (erc-invite-only-mode, erc-toggle-channel-mode):
......
......@@ -82,10 +82,8 @@ for use on `completion-at-point-function'."
"Complete the nick before point."
(interactive)
(when (> (point) (erc-beg-of-input-line))
(let ((last-command (if (eq last-command 'erc-complete-word)
'pcomplete
last-command)))
(call-interactively 'pcomplete))
(setq this-command 'pcomplete)
(call-interactively 'pcomplete)
t))
;;; Setup function
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment