|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] emacs-25 b99141d: Make erc completion case-insensitive again |
Date: | Thu, 04 Feb 2016 08:14:07 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> +(defun erc-completion-at-point () > + "Perform complection on the text around point case-insentitively. > +See `completion-at-point'." > + (interactive) > + (let ((completion-ignore-case t)) > + (completion-at-point))) If the elements in the completion table are indeed case-insensitive, then the right way to do that is to set the completion-table accordingly. E.g. replace <completion-table> with (lambda (s p a) (let ((completion-ignore-case t)) (complete-with-action a <completion-table> s p))) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |