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

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

[nongnu] elpa/org-contrib 6e51856877: lisp/org-static-mathjax.el: Addres


From: ELPA Syncer
Subject: [nongnu] elpa/org-contrib 6e51856877: lisp/org-static-mathjax.el: Address some compiler warnings
Date: Wed, 3 Jan 2024 10:00:32 -0500 (EST)

branch: elpa/org-contrib
commit 6e5185687723980119bc1ac9fecf4183d5b7c611
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    lisp/org-static-mathjax.el: Address some compiler warnings
    
    * lisp/org-static-mathjax.el (org-static-mathjax-app-ini-path):
    (org-static-mathjax-xulrunner-path):
    (org-static-mathjax-local-mathjax-path): Define customization groups.
    (org-static-mathjax-hook-installer): Adjust docstring, quoting symbols
    and re-filling.
---
 lisp/org-static-mathjax.el | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/lisp/org-static-mathjax.el b/lisp/org-static-mathjax.el
index e1e1a30311..23ce70bc0f 100644
--- a/lisp/org-static-mathjax.el
+++ b/lisp/org-static-mathjax.el
@@ -66,11 +66,13 @@
   "Path to \"application.ini\" of the Static MathJax XULRunner application.
 If you have extracted StaticMathJax to e.g. ~/.local/staticmathjax, set
 this to ~/.local/staticmathjax/application.ini"
+  :group 'org-static-mathjax
   :type 'string)
 
 (defcustom org-static-mathjax-xulrunner-path
   "xulrunner"
   "Path to your xulrunner binary"
+  :group 'org-static-mathjax
   :type 'string)
 
 (defcustom org-static-mathjax-local-mathjax-path
@@ -80,6 +82,7 @@ hard drive and specify the path here.
 
 The directory has to be writeable, as org-static-mathjax
 creates a temporary file there during export."
+  :group 'org-static-mathjax
   :type 'string)
 
 (defvar org-static-mathjax-debug
@@ -89,9 +92,11 @@ creates a temporary file there during export."
 (defun org-static-mathjax-hook-installer ()
   "Installs org-static-mathjax-process in after-save-hook.
 
-Sets the following buffer-local variables for org-static-mathjax-process to 
pick up:
-org-static-mathjax-mathjax-path: The path to MathJax.js as used by Org HTML 
export
-org-static-mathjax-options:      The string given with #+STATICMATHJAX: in the 
file"
+Sets the following buffer-local variables for
+`org-static-mathjax-process' to pick up:
+`org-static-mathjax-mathjax-path': The path to MathJax.js as used by Org
+HTML export `org-static-mathjax-options': The string given with
+#+STATICMATHJAX: in the file"
   (let ((static-mathjax-option-string (plist-get opt-plist :static-mathjax)))
        (if static-mathjax-option-string
                (progn (set (make-local-variable 'org-static-mathjax-options) 
static-mathjax-option-string)



reply via email to

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