summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-extra.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2017-01-08 18:19:32 -0500
committerNoam Postavsky <npostavs@gmail.com>2017-01-15 13:04:54 -0500
commitfd6b829d91da73a945643b5916ee6d79c992e030 (patch)
tree5759b3099ad52bdf3fb80948a12973d349981b2f /lisp/emacs-lisp/cl-extra.el
parentaf3db69ee640d9a1e9027c04ba3b5bec7c2681ab (diff)
downloademacs-fd6b829d91da73a945643b5916ee6d79c992e030.tar.gz
emacs-fd6b829d91da73a945643b5916ee6d79c992e030.tar.bz2
emacs-fd6b829d91da73a945643b5916ee6d79c992e030.zip
Improve ffap-gopher-at-point handling of long lines
* lisp/ffap.el (ffap-gopher-regexp): Only match the KEY part. Note setting to nil is now supported. (ffap--gopher-var-on-line): New function. (ffap-gopher-at-point): Use it instead of the old ffap-gopher-regexp which could overflow the regexp stack on long lines (Bug#25391). Use `let-alist' instead of calling `set' on local variables. * test/lisp/ffap-tests.el (ffap-gopher-at-point): New test.
Diffstat (limited to 'lisp/emacs-lisp/cl-extra.el')
0 files changed, 0 insertions, 0 deletions