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

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

[elpa] externals/embark adb597dac0 1/2: Silence compiler


From: ELPA Syncer
Subject: [elpa] externals/embark adb597dac0 1/2: Silence compiler
Date: Sun, 15 May 2022 11:57:35 -0400 (EDT)

branch: externals/embark
commit adb597dac09dd2916514cc0aa5e3511e485f32ba
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Silence compiler
---
 embark-org.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/embark-org.el b/embark-org.el
index a474c47c8e..01ad292956 100644
--- a/embark-org.el
+++ b/embark-org.el
@@ -99,6 +99,8 @@
     )
   "Supported Org object and element types")
 
+(declare-function org-element-property "org-element" (property element))
+
 (defun embark-org-target-element-context ()
   "Target the smallest Org element or object around point."
   (when-let (((derived-mode-p 'org-mode))
@@ -121,9 +123,12 @@
 
 ;;; Custom Org actions
 
+(defvar org-export-with-toc)
+
 (defun embark-org-copy-as-markdown (start end)
   "Export the region from START to END to markdown and save on the kill-ring."
   (interactive "r")
+  (require 'ox)
   (kill-new
    (let (org-export-with-toc)
      (string-trim
@@ -273,6 +278,7 @@ what part or in what format the link is copied."
 (embark-org-define-link-copier description description "'s description")
 (embark-org-define-link-copier target target "'s target")
 
+(declare-function embark-org-copy-link-inner-target "embark-org")
 (fset 'embark-org-copy-link-inner-target 'kill-new)
 (put 'embark-org-copy-link-inner-target 'function-documentation
       "Copy 'inner part' of the Org link at point's target.



reply via email to

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