Noam Postavsky
fd6b829d91
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.
2017-01-15 13:04:54 -05:00
..
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-11 14:35:51 -05:00
2017-01-13 12:38:36 -07:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-15 13:04:54 -05:00
2017-01-03 09:50:41 +01:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 13:24:14 +01:00
2017-01-01 01:10:47 -08:00
2017-01-03 18:34:13 -05:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00
2017-01-06 20:12:48 +01:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:48:59 -08:00
2017-01-01 01:10:47 -08:00
2017-01-01 01:10:47 -08:00