diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2016-12-30 15:31:01 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2016-12-30 15:31:01 +0900 |
commit | c336420d9f2ffe5270d7deec360d84e1f45b4a55 (patch) | |
tree | edbab7c255781c4963da04896c90bc706c90c104 /test/lisp/emacs-lisp/bytecomp-tests.el | |
parent | 9672f2c916b5909cc5836f67edc4d66842cce7cd (diff) | |
download | emacs-c336420d9f2ffe5270d7deec360d84e1f45b4a55.tar.gz emacs-c336420d9f2ffe5270d7deec360d84e1f45b4a55.tar.bz2 emacs-c336420d9f2ffe5270d7deec360d84e1f45b4a55.zip |
ffap-string-at-point: Limit max length of active region
Prevents that 'ffap-guesser' waste time checking large strings
which are likely not valid candidates (Bug#25243).
* lisp/ffap.el (ffap-max-region-length): New variable.
(ffap-string-at-point): Use it.
* test/lisp/ffap-tests.el: New test suite.
(ffap-tests-25243): Add test for this bug.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
0 files changed, 0 insertions, 0 deletions