[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/markdown-mode 1716694217 2/2: Merge pull request #856 from
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/markdown-mode 1716694217 2/2: Merge pull request #856 from mattiasb/feature/safe-css-paths |
Date: |
Sun, 17 Nov 2024 01:00:14 -0500 (EST) |
branch: elpa/markdown-mode
commit 1716694217bfb802f768d2353cb801459027c294
Merge: 6f59f72ca0 46e70126ec
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #856 from mattiasb/feature/safe-css-paths
Mark `markdown-css-paths` safe as a file local var
---
CHANGES.md | 1 +
markdown-mode.el | 1 +
2 files changed, 2 insertions(+)
diff --git a/CHANGES.md b/CHANGES.md
index d7a1d1ff99..ca732df009 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 89d896296b..2152cd603b 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"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/markdown-mode 1716694217 2/2: Merge pull request #856 from mattiasb/feature/safe-css-paths,
ELPA Syncer <=