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

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

[elpa] externals/org 4517fba441 1/2: org-html-htmlize-output-type: Mark


From: ELPA Syncer
Subject: [elpa] externals/org 4517fba441 1/2: org-html-htmlize-output-type: Mark safe as buffer-local
Date: Thu, 10 Nov 2022 22:57:59 -0500 (EST)

branch: externals/org
commit 4517fba441444fa6a2fb167787a6e813d7004c80
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    org-html-htmlize-output-type: Mark safe as buffer-local
    
    * lisp/ox-html.el (org-html-htmlize-output-type): This variable is
    safe to set buffer-locally as a symbol.
    
    Reported-by: Rudolf Adamkovič <salutis@me.com>
    Link: https://orgmode.org/list/m28ruxklo5.fsf@me.com
---
 lisp/ox-html.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index cad06aebf6..c34711d1e1 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -897,7 +897,8 @@ all the faces you are interested in are defined, for 
example by loading files
 in all modes you want.  Then, use the command
 `\\[org-html-htmlize-generate-css]' to extract class definitions."
   :group 'org-export-html
-  :type '(choice (const css) (const inline-css) (const nil)))
+  :type '(choice (const css) (const inline-css) (const nil))
+  :safe #'symbolp)
 
 (defcustom org-html-htmlize-font-prefix "org-"
   "The prefix for CSS class names for htmlize font specifications."



reply via email to

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