tools/flyspell: conform to new conventions

This commit is contained in:
Henrik Lissner 2019-07-22 23:34:23 +02:00
parent 90f5128de2
commit 287e61a72c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 21 additions and 23 deletions

View file

@ -14,7 +14,7 @@
(add-to-list '+flyspell--predicate-alist (cons mode predicate))))
;;;###autoload
(defun +flyspell|init-predicate ()
(defun +flyspell-init-predicate-h ()
"TODO"
(when-let (pred (assq major-mode +flyspell--predicate-alist))
(setq-local flyspell-generic-check-word-predicate (cdr pred))))