emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/markdown-mode 46e70126ec 1/2: Mark `markdown-css-paths` sa


From: ELPA Syncer
Subject: [nongnu] elpa/markdown-mode 46e70126ec 1/2: Mark `markdown-css-paths` safe as a file local var
Date: Sun, 17 Nov 2024 01:00:13 -0500 (EST)

branch: elpa/markdown-mode
commit 46e70126ec58e5272bf790e8856058cf113ac289
Author: Mattias Bengtsson <mattias.jc.bengtsson@gmail.com>
Commit: Mattias Bengtsson <mattias.jc.bengtsson@gmail.com>

    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"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]