From e273fa96e5632db854237532ed8e2a476deb8b1a Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 16 Jun 2022 12:15:03 +0800 Subject: [PATCH] Fix function declarations * lisp/org-macro.el (org-file-contents): * lisp/ob-exp.el (org-in-commented-heading-p): (org-in-archived-heading-p): Add missing argument to function declarations. --- lisp/ob-exp.el | 4 ++-- lisp/org-macro.el | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el index c0ef1894e..b1144b1d2 100644 --- a/lisp/ob-exp.el +++ b/lisp/ob-exp.el @@ -32,8 +32,8 @@ (declare-function org-element-type "org-element" (element)) (declare-function org-escape-code-in-string "org-src" (s)) (declare-function org-export-copy-buffer "ox" ()) -(declare-function org-in-commented-heading-p "org" (&optional no-inheritance)) -(declare-function org-in-archived-heading-p "org" (&optional no-inheritance)) +(declare-function org-in-commented-heading-p "org" (&optional no-inheritance element)) +(declare-function org-in-archived-heading-p "org" (&optional no-inheritance element)) (defvar org-src-preserve-indentation) diff --git a/lisp/org-macro.el b/lisp/org-macro.el index 1d5cbe1b4..2efb4fa3f 100644 --- a/lisp/org-macro.el +++ b/lisp/org-macro.el @@ -63,7 +63,7 @@ (declare-function org-element-type "org-element" (element)) (declare-function org-entry-get "org" (pom property &optional inherit literal-nil)) (declare-function org-file-contents "org" (file &optional noerror nocache)) -(declare-function org-in-commented-heading-p "org" (&optional no-inheritance)) +(declare-function org-in-commented-heading-p "org" (&optional no-inheritance element)) (declare-function org-link-search "ol" (s &optional avoid-pos stealth)) (declare-function org-mode "org" ()) (declare-function vc-backend "vc-hooks" (f))