Browse Source

Fix function declarations

Nicolas Goaziou 4 months ago
parent
commit
6c9d0e86b1
4 changed files with 4 additions and 4 deletions
  1. 1 0
      contrib/lisp/org-contacts.el
  2. 1 1
      lisp/org-compat.el
  3. 2 2
      lisp/org-element.el
  4. 0 1
      lisp/org.el

+ 1 - 0
contrib/lisp/org-contacts.el

@@ -59,6 +59,7 @@
 (require 'mail-utils)
 (require 'org-agenda)
 (require 'org-capture)
+(require 'ol)
 
 (defgroup org-contacts nil
   "Options about contacts management."

+ 1 - 1
lisp/org-compat.el

@@ -46,7 +46,7 @@
 (declare-function org-end-of-subtree "org" (&optional invisible-ok to-heading))
 (declare-function org-get-heading "org" (&optional no-tags no-todo no-priority no-comment))
 (declare-function org-get-tags "org" (&optional pos local))
-(declare-function org-link-display-format "org" (s))
+(declare-function org-link-display-format "ol" (s))
 (declare-function org-link-set-parameters "ol" (type &rest rest))
 (declare-function org-log-into-drawer "org" ())
 (declare-function org-make-tag-string "org" (tags))

+ 2 - 2
lisp/org-element.el

@@ -74,8 +74,8 @@
 (declare-function org-find-visible "org" ())
 (declare-function org-reduced-level "org" (l))
 (declare-function org-unescape-code-in-string "org-src" (s))
-(declare-function outline-next-heading "org" ())
-(declare-function outline-previous-heading "org" ())
+(declare-function outline-next-heading "outline" ())
+(declare-function outline-previous-heading "outline" ())
 
 (defvar org-archive-tag)
 (defvar org-clock-line-re)

+ 0 - 1
lisp/org.el

@@ -162,7 +162,6 @@ Stars are put in group 1 and the trimmed body in group 2.")
 (declare-function org-element-swap-A-B "org-element" (elem-a elem-b))
 (declare-function org-element-timestamp-parser "org-element" ())
 (declare-function org-element-type "org-element" (element))
-(declare-function org-element-update-syntax "org-element" ())
 (declare-function org-export-dispatch "ox" (&optional arg))
 (declare-function org-export-get-backend "ox" (name))
 (declare-function org-export-get-backend "ox" (name))