[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15362: 24.1; pcomplete unnecessarily restricts tab-completion entry
From: |
Stefan Monnier |
Subject: |
bug#15362: 24.1; pcomplete unnecessarily restricts tab-completion entry points |
Date: |
Fri, 13 Sep 2013 09:32:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> customise the erc group, make sure erc-pcomplete is on (it
> should be)
Ah, that's the trick. Any reason why you do that? The default should
already give you almost the same behavior.
Also does the patch below fix your problem?
Stefan
=== modified file 'lisp/erc/erc-pcomplete.el'
--- lisp/erc/erc-pcomplete.el 2013-01-02 16:13:04 +0000
+++ lisp/erc/erc-pcomplete.el 2013-09-13 13:30:27 +0000
@@ -82,10 +82,8 @@
"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