diff --git a/CHANGES.md b/CHANGES.md index d7a1d1ff..ca732df0 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -28,6 +28,7 @@ - Show mode toggle message only if it is called interactively - Copy `markdown-css-paths` in the output buffer [GH-834][] - Change temporary buffer name according to the Emacs naming convention [GH-848][] + - Mark `markdown-css-paths` safe as file local variables [GH-834][] [gh-780]: https://github.com/jrblevin/markdown-mode/issues/780 [gh-802]: https://github.com/jrblevin/markdown-mode/issues/802 diff --git a/markdown-mode.el b/markdown-mode.el index 89d89629..2152cd60 100644 --- a/markdown-mode.el +++ b/markdown-mode.el @@ -370,6 +370,7 @@ Math support can be enabled, disabled, or toggled later using (defcustom markdown-css-paths nil "List of URLs of CSS files to link to in the output XHTML." :group 'markdown + :safe (apply-partially #'seq-every-p #'stringp) :type '(repeat (string :tag "CSS File Path"))) (defcustom markdown-content-type "text/html"