Skip to content

Commit

Permalink
fix: org-transclusion-*-extension-functions
Browse files Browse the repository at this point in the history
'((cons e1 e2)) is incorrect. `cons` will be part of the list.
  • Loading branch information
nobiot committed Jan 2, 2025
1 parent 5573584 commit 7bc1a4f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion org-transclusion-font-lock.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion org-transclusion-html.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions org-transclusion-indent-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bc1a4f

Please sign in to comment.