emacs-devel
[Top][All Lists]
Advanced

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

Re: string-match case sensivity depends on case-fold-search buffer local


From: Henrik Enberg
Subject: Re: string-match case sensivity depends on case-fold-search buffer local value?
Date: Tue, 18 Oct 2005 21:51:39 +0200

Lennart Borgman <address@hidden> writes:

> Kevin Rodgers wrote:
> 
> >Lennart Borgman wrote:
> >
> >>I am beeing disturbed by this sentence in the docstring for 
> >>`string-match':
> >>
> >>    Case is ignored if `case-fold-search' is non-nil in the current 
> >>buffer.
> >>
> >>Is this really true?
> >
> >
> >I hope so, otherwise how could you specify that the match must be
> >case-sensitive or case-insensitive?  Now it can be done by let-
> >binding case-fold-search.
> 
> Thanks, but there is still something I do not understand. Why is "the 
> current buffer" mentioned? I thought that maybe it could not be let-bound.

Because case-fold-search is buffer-local.




reply via email to

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