diff --git a/init/text/common.el b/init/text/common.el index a1a0eef..401afd6 100644 --- a/init/text/common.el +++ b/init/text/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*- -;; Time-stamp: <2019-11-14T13:26:33+00:00> +;; Time-stamp: <2019-12-18T23:44:03+00:00> ;;; Commentary: @@ -76,6 +76,9 @@ (interactive) (ispell-change-dictionary "german")) + ;; Allow setting the language in file/dir local variables. + (put 'ispell-dictionary 'safe-local-variable #'stringp) + :bind ("" . my/toggle-flyspell) (:map flyspell-mode-map