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

Add `ace-jump-search-filter' variable #44

Merged
merged 1 commit into from
Feb 2, 2014
Merged

Conversation

abo-abo
Copy link
Contributor

@abo-abo abo-abo commented Jan 12, 2014

  • ace-jump-mode.el (ace-jump-search-candidate): uses
    `ace-jump-search-filter' if it's not nil

Hi,

This addition might be useful for package writers that use ace-jump-mode.

Here's a use-case for this (jump to open paren but not in comment or string):

(let ((ace-jump-search-filter (lambda() (not (in-string-or-comment-p)))))
      (ace-jump-char-mode ?\()))

* ace-jump-mode.el (ace-jump-search-candidate): uses
  `ace-jump-search-filter' if it's not nil
winterTTr added a commit that referenced this pull request Feb 2, 2014
Add `ace-jump-search-filter' variable
@winterTTr winterTTr merged commit d00ed78 into winterTTr:master Feb 2, 2014
@winterTTr
Copy link
Owner

This patch makes sense, thanks for your suggestion

@abo-abo
Copy link
Contributor Author

abo-abo commented Feb 2, 2014

Thanks, now I'm able to use it in
abo-abo/lispy@9e73f93

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.

2 participants