local varibales list の警告を出さないようにする

昨日から、ChangeLogにメモを書こうとすると、
以下のような警告が出されるようになった。

The local variables list in ChangeLog.txt
contains values that may not be safe (*).

Do you want to apply it?  You can type
y  -- to apply the local variables list.
n  -- to ignore the local variables list.
!  -- to apply the local variables list, and permanently mark these
      values (*) as safe (in the future, they will be set automatically.)

    mode : change-log
  * clmemo-mode : t

local variables listっていうのはたぶん、
あるファイル(僕の場合はChangeLog.txt)の中にある、
他では使われていない変数の入ったリストのことだろう。
上記の警告はそれについてどうしましょうか?と
ユーザに対して聞いてくれているんだと解釈。
そういえば、昨日はEmacs Lispのメモを取ったから、
いくつかそれらしいリストが書き込まれているな。
納得であります。


次からはそのリストを安全だと見なして、
警告は出さないようにするには!を選べばいい。
そうすると、.emacsの末尾に、ある設定が追加される。
なんか見づらいので適当に加工して書き直したのが以下。
この記述があればもう警告は出ない。

;; local varibales list の警告を出さないようにする
(custom-set-variables
 '(safe-local-variable-values (quote ((clmemo-mode . t)))))