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

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

[elpa] externals/org bb24248 5/6: lisp/ox-html.el: Set `org-html-head-in


From: ELPA Syncer
Subject: [elpa] externals/org bb24248 5/6: lisp/ox-html.el: Set `org-html-head-include-scripts' to nil
Date: Sat, 1 May 2021 05:57:13 -0400 (EDT)

branch: externals/org
commit bb24248b821edbf09aeb9daaa442ed084ab9ab2e
Author: Bastien Guerry <bzg@gnu.org>
Commit: Bastien Guerry <bzg@gnu.org>

    lisp/ox-html.el: Set `org-html-head-include-scripts' to nil
    
    * lisp/ox-html.el (org-html-scripts): Enhance docstring.
    (org-html-head-include-scripts): Default to nil and enhance docstring.
    
    Link: 
https://orgmode.org/list/498dbe2e-0cd2-c81e-7960-4a26c566a1f7@memebeam.org/
---
 etc/ORG-NEWS    | 13 +++++++++----
 lisp/ox-html.el |  7 +++----
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/etc/ORG-NEWS b/etc/ORG-NEWS
index 5a75653..4fd8e67 100644
--- a/etc/ORG-NEWS
+++ b/etc/ORG-NEWS
@@ -4,6 +4,7 @@ ORG NEWS -- history of user-visible changes.   -*- mode: org; 
coding: utf-8 -*-
 
 #+LINK: doc https://orgmode.org/worg/doc.html#%s
 #+LINK: git https://code.orgmode.org/bzg/org-mode/commit/%s
+#+LINK: msg https://orgmode.org/list/%s/
 
 Copyright (C) 2012-2021 Free Software Foundation, Inc.
 See the end of the file for license conditions.
@@ -124,6 +125,10 @@ behavior.
 
 By default ox-html now inlines webp images.
 
+*** ~org-html-head-include-scripts~ is now =nil= by default
+
+See [[msg:498dbe2e-0cd2-c81e-7960-4a26c566a1f7@memebeam.org][this thread]].
+
 *** New option ~org-html-content-class~
 
 This is the CSS class name to use for the top level content wrapper.
@@ -140,7 +145,7 @@ you can now configure them.
 
 *** Some faces now use fixed-pitch
 
-See https://orgmode.org/list/875z8njaol.fsf@protesilaos.com.
+See [[msg:875z8njaol.fsf@protesilaos.com][this thread]].
 
 ** New features
 *** =ob-python= improvements to =:return= header argument 
@@ -651,7 +656,7 @@ In all Babel libraries, the absence of a ~:results~ header 
should
 produce the same result than setting ~:results value~, unless there is
 an option to explicitly create an exception.
 
-See 
[[https://orgmode.org/list/CA+A2iZaziAfMeGpBqL6qGrzrWEVvLvC0DUw++T4gCF3NGuW-DQ@mail.gmail.com/][this
 thread]] for more context.
+See 
[[msg:CA+A2iZaziAfMeGpBqL6qGrzrWEVvLvC0DUw++T4gCF3NGuW-DQ@mail.gmail.com][this 
thread]] for more context.
 
 *** New option in ~org-attach-store-link-p~
 
@@ -5394,7 +5399,7 @@ that Calc formulas can operate on them.
 
     The new system has a technically cleaner implementation and more
     possibilities for capturing different types of data.  See
-    
[[https://orgmode.org/list/C46F10DC-DE51-43D4-AFFE-F71E440D1E1F@gmail.com][Carsten's
 announcement]] for more details.
+    [[msg:C46F10DC-DE51-43D4-AFFE-F71E440D1E1F@gmail.com][Carsten's 
announcement]] for more details.
 
     To switch over to the new system:
 
@@ -5525,7 +5530,7 @@ that Calc formulas can operate on them.
 
 **** Modified link escaping
 
-     David Maus worked on `org-link-escape'.  See 
[[https://orgmode.org/list/87k4gysacq.wl%dmaus@ictsoc.de][his message]]:
+     David Maus worked on `org-link-escape'.  See 
[[msg:87k4gysacq.wl%dmaus@ictsoc.de][his message]]:
 
      : Percent escaping is used in Org mode to escape certain characters
      : in links that would either break the parser (e.g. square brackets
diff --git a/lisp/ox-html.el b/lisp/ox-html.el
index 71a85c2..174a3d9 100644
--- a/lisp/ox-html.el
+++ b/lisp/ox-html.el
@@ -253,7 +253,7 @@ property on the headline itself.")
      }
 // @license-end
 </script>"
-  "Basic JavaScript that is needed by HTML files produced by Org mode."
+  "Basic JavaScript to allow highlighting references in code blocks."
   :group 'org-export-html
   :package-version '(Org . "9.5")
   :type 'string)
@@ -1422,10 +1422,9 @@ ignored."
 
 ;;;; Template :: Scripts
 
-(defcustom org-html-head-include-scripts t
+(defcustom org-html-head-include-scripts nil
   "Non-nil means include the JavaScript snippets in exported HTML files.
-The actual script is defined in `org-html-scripts' and should
-not be modified."
+The actual script is defined in `org-html-scripts'."
   :group 'org-export-html
   :version "24.4"
   :package-version '(Org . "8.0")



reply via email to

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