Emacs: Mark ispell-dictionary as safe.

This commit is contained in:
tastytea 2019-12-19 00:45:15 +01:00
parent 027f45454e
commit 1c93874516

View File

@ -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
("<f9>" . my/toggle-flyspell)
(:map flyspell-mode-map