[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-buffer-completion-ignore-case

From: Miles Bader
Subject: Re: read-buffer-completion-ignore-case
Date: 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 
> names?
> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]