Skip to content

Commit

Permalink
Mark markdown-css-paths safe as a file local var
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiasb committed Nov 16, 2024
1 parent 6f59f72 commit 46e7012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions markdown-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 46e7012

Please sign in to comment.