[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wed, 06 May 2009 11:29:35 +0900
"Drew Adams" <address@hidden> writes:
> There is no real use of `read-buffer-completion-ignore-case' in the Emacs Lisp
> files, and I haven't bothered to download the C source code to check all the
> places it might be used (besides `read-buffer').
> Question: How can Emacs-Lisp code know whether completion involves buffer
> Suppose I want to do something depending on the value of
> `read-buffer-completion-ignore-case', but only when completion is for buffer
> names - how can I test that? It's relatively easy to test for file-name
> completion, but how to do that for buffer-name completion?
Do you really need to know explicitly? Could you instead just test
`completion-ignore-case', which is let-bound to the value of
read-buffer-completion-ignore-case inside of read-buffer?
Philosophy, n. A route of many roads leading from nowhere to nothing.
Re: read-buffer-completion-ignore-case, Stefan Monnier, 2009/05/05