• Alan Mackenzie's avatar
    Enhance ispell-skip-region-alist by generating part of it at runtime. · 9ae19d2f
    Alan Mackenzie authored
    * 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.
    9ae19d2f
ispell.el 182 KB