branch: externals/org-transclusion
commit 7bc1a4fb403de8b32401540cc7a4ffadf3b73def
Author: Noboru Ota <[email protected]>
Commit: Noboru Ota <[email protected]>

    fix: org-transclusion-*-extension-functions
    
    '((cons e1 e2)) is incorrect. `cons` will be part of the list.
---
 org-transclusion-font-lock.el   | 2 +-
 org-transclusion-html.el        | 2 +-
 org-transclusion-indent-mode.el | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/org-transclusion-font-lock.el b/org-transclusion-font-lock.el
index 93367e6ce6..8c4b6d1a83 100644
--- a/org-transclusion-font-lock.el
+++ b/org-transclusion-font-lock.el
@@ -40,7 +40,7 @@
      org-transclusion-font-lock-extension-functions :remove)))
 
 (defvar org-transclusion-font-lock-extension-functions
-  '((cons 'org-font-lock-set-keywords-hook #'org-transclusion-font-lock-set))
+  (list (cons 'org-font-lock-set-keywords-hook 
#'org-transclusion-font-lock-set))
   "Alist of functions to activate `org-transclusion-font-lock'.
 CAR of each cons cell is a symbol name of an abnormal hook
 \(*-functions\). CDR is either a symbol or list of symbols, which
diff --git a/org-transclusion-html.el b/org-transclusion-html.el
index 06c2bd02b5..17f952f972 100644
--- a/org-transclusion-html.el
+++ b/org-transclusion-html.el
@@ -52,7 +52,7 @@
      org-transclusion-html-extension-functions :remove)))
 
 (defvar org-transclusion-html-extension-functions
-  '((cons 'org-transclusion-add-functions #'org-transclusion-html-add-file))
+  (list (cons 'org-transclusion-add-functions 
#'org-transclusion-html-add-file))
   "Alist of functions to activate `org-transclusion-html'.
 CAR of each cons cell is a symbol name of an abnormal hook
 \(*-functions\). CDR is either a symbol or list of symbols, which
diff --git a/org-transclusion-indent-mode.el b/org-transclusion-indent-mode.el
index f50bb3993e..c76d3ec52c 100644
--- a/org-transclusion-indent-mode.el
+++ b/org-transclusion-indent-mode.el
@@ -42,8 +42,8 @@
      org-transclusion-indent-extension-functions :remove)))
 
 (defvar org-transclusion-indent-extension-functions
-  '((cons 'org-transclusion-after-add-functions
-          #'org-translusion-indent-add-properties))
+  (list (cons 'org-transclusion-after-add-functions
+              #'org-translusion-indent-add-properties))
   "Alist of functions to activate `org-transclusion-indent-mode'.
 CAR of each cons cell is a symbol name of an abnormal hook
 \(*-functions\). CDR is either a symbol or list of symbols, which

Reply via email to