Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make flx-capital-p behave correctly for non-latin words #27

Merged
merged 1 commit into from Jul 16, 2013

Conversation

bbatsov
Copy link
Contributor

@bbatsov bbatsov commented Jul 16, 2013

It's entirely possible for one to have non-latin words in his ido
candidates. This commit improves flx-capital-p by making it recognize
non-latin letters.

(<= ?A char))))
(and char (flx-word-p char)
(let ((char-as-string (char-to-string char)))
(string= char-as-string (upcase char-as-string)))))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upcase works with char; then you can check numeric equality =.

It's entirely possible for one to have non-latin words in his ido
candidates. This commit improves `flx-capital-p` by making it recognize
non-latin letters.
@bbatsov
Copy link
Contributor Author

bbatsov commented Jul 16, 2013

I've updated the PR.

lewang added a commit that referenced this pull request Jul 16, 2013
Make flx-capital-p behave correctly for non-latin words
@lewang lewang merged commit 9e7749e into lewang:master Jul 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants