]> git.eshelyaron.com Git - emacs.git/commit
Enhance ispell-skip-region-alist by generating part of it at runtime.
authorAlan Mackenzie <acm@muc.de>
Mon, 14 Dec 2015 17:17:31 +0000 (17:17 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 14 Dec 2015 17:17:31 +0000 (17:17 +0000)
commit9ae19d2f0d757db73dee35b7e675810dab7bcb37
tree5d035af6ff9723a5bbac86eeec20d421dc9df8c3
parente8937de5547a687b6d03199368645f168cb8ad37
Enhance ispell-skip-region-alist by generating part of it at runtime.

* lisp/textmodes/ispell.el (ispell--\\w-filter, ispell--make-\\w-expression)
(ispell--make-filename-or-URL-re): New functions which generate a regexp.
(ispell-skip-region-alist): Remove the bit that matches a filename/URL, etc.
(ispell-begin-skip-region-regexp, ispell-skip-region-list, ispell-message):
Include the result of ispell--make-filename-or-URL-re in regexps.
lisp/textmodes/ispell.el