* [PATCH] Fix signature for org-element-at-point
@ 2022-01-06 17:39 Mark A. Hershberger
2022-01-12 14:28 ` Ihor Radchenko
0 siblings, 1 reply; 2+ messages in thread
From: Mark A. Hershberger @ 2022-01-06 17:39 UTC (permalink / raw)
To: emacs-orgmode
---
lisp/ob-exp.el | 2 +-
lisp/ob-lob.el | 2 +-
lisp/ob-ref.el | 2 +-
lisp/ob-tangle.el | 2 +-
lisp/ol.el | 2 +-
lisp/org-capture.el | 2 +-
lisp/org-footnote.el | 2 +-
lisp/org-keys.el | 2 +-
lisp/org-list.el | 2 +-
lisp/org-macro.el | 2 +-
lisp/org-pcomplete.el | 2 +-
lisp/org-src.el | 2 +-
lisp/org-table.el | 2 +-
13 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/lisp/ob-exp.el b/lisp/ob-exp.el
index d41c40c8d..931adbfde 100644
--- a/lisp/ob-exp.el
+++ b/lisp/ob-exp.el
@@ -26,7 +26,7 @@
(require 'ob-core)
(declare-function org-babel-lob-get-info "ob-lob" (&optional datum))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-context "org-element" (&optional element))
(declare-function org-element-property "org-element" (property element))
(declare-function org-element-type "org-element" (element))
diff --git a/lisp/ob-lob.el b/lisp/ob-lob.el
index eecb5c402..5aae3f591 100644
--- a/lisp/ob-lob.el
+++ b/lisp/ob-lob.el
@@ -28,7 +28,7 @@
(require 'ob-table)
(declare-function org-babel-ref-split-args "ob-ref" (arg-string))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-context "org-element" (&optional element))
(declare-function org-element-property "org-element" (property element))
(declare-function org-element-type "org-element" (element))
diff --git a/lisp/ob-ref.el b/lisp/ob-ref.el
index 1f6e33ed7..db8ced6b6 100644
--- a/lisp/ob-ref.el
+++ b/lisp/ob-ref.el
@@ -54,7 +54,7 @@
(require 'cl-lib)
(declare-function org-babel-lob-get-info "ob-lob" (&optional datum))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-property "org-element" (property element))
(declare-function org-element-type "org-element" (element))
(declare-function org-end-of-meta-data "org" (&optional full))
diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el
index a263572e2..c4b69dfd3 100644
--- a/lisp/ob-tangle.el
+++ b/lisp/ob-tangle.el
@@ -37,7 +37,7 @@
(declare-function org-babel-update-block-body "ob-core" (new-body))
(declare-function org-back-to-heading "org" (&optional invisible-ok))
(declare-function org-before-first-heading-p "org" ())
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-type "org-element" (element))
(declare-function org-heading-components "org" ())
(declare-function org-in-commented-heading-p "org" (&optional no-inheritance))
diff --git a/lisp/ol.el b/lisp/ol.el
index 2cba33ed9..1d3631219 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -47,7 +47,7 @@
(declare-function org-back-to-heading "org" (&optional invisible-ok))
(declare-function org-before-first-heading-p "org" ())
(declare-function org-do-occur "org" (regexp &optional cleanup))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-cache-refresh "org-element" (pos))
(declare-function org-element-context "org-element" (&optional element))
(declare-function org-element-lineage "org-element" (datum &optional types with-self))
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 945ea5298..5195b785e 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -57,7 +57,7 @@
(declare-function org-datetree-find-date-create "org-datetree" (date &optional keep-restriction))
(declare-function org-datetree-find-month-create (d &optional keep-restriction))
(declare-function org-decrypt-entry "org-crypt" ())
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-lineage "org-element" (datum &optional types with-self))
(declare-function org-element-property "org-element" (property element))
(declare-function org-encrypt-entry "org-crypt" ())
diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el
index 112d6504f..b55f6d98e 100644
--- a/lisp/org-footnote.el
+++ b/lisp/org-footnote.el
@@ -39,7 +39,7 @@
(declare-function org-back-over-empty-lines "org" ())
(declare-function org-end-of-meta-data "org" (&optional full))
(declare-function org-edit-footnote-reference "org-src" ())
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-class "org-element" (datum &optional parent))
(declare-function org-element-context "org-element" (&optional element))
(declare-function org-element-lineage "org-element" (blob &optional types with-self))
diff --git a/lisp/org-keys.el b/lisp/org-keys.el
index 79d46e48d..b8e9ddd93 100644
--- a/lisp/org-keys.el
+++ b/lisp/org-keys.el
@@ -81,7 +81,7 @@
(declare-function org-display-outline-path "org" (&optional file current separator just-return-string))
(declare-function org-down-element "org" ())
(declare-function org-edit-special "org" (&optional arg))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-type "org-element" (element))
(declare-function org-emphasize "org" (&optional char))
(declare-function org-end-of-line "org" (&optional n))
diff --git a/lisp/org-list.el b/lisp/org-list.el
index 940f88771..3533c8319 100644
--- a/lisp/org-list.el
+++ b/lisp/org-list.el
@@ -103,7 +103,7 @@
(declare-function org-back-to-heading "org" (&optional invisible-ok))
(declare-function org-before-first-heading-p "org" ())
(declare-function org-current-level "org" ())
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-context "org-element" (&optional element))
(declare-function org-element-interpret-data "org-element" (data))
(declare-function org-element-lineage "org-element" (blob &optional types with-self))
diff --git a/lisp/org-macro.el b/lisp/org-macro.el
index c88e2c89d..1d5cbe1b4 100644
--- a/lisp/org-macro.el
+++ b/lisp/org-macro.el
@@ -51,7 +51,7 @@
(require 'org-compat)
(declare-function org-collect-keywords "org" (keywords &optional unique directory))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-context "org-element" (&optional element))
(declare-function org-element-copy "org-element" (datum))
(declare-function org-element-macro-parser "org-element" ())
diff --git a/lisp/org-pcomplete.el b/lisp/org-pcomplete.el
index d1172d898..8d995bcd2 100644
--- a/lisp/org-pcomplete.el
+++ b/lisp/org-pcomplete.el
@@ -35,7 +35,7 @@
(declare-function org-babel-get-src-block-info "ob-core" (&optional light datum))
(declare-function org-before-first-heading-p "org" ())
(declare-function org-buffer-property-keys "org" (&optional specials defaults columns))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-property "org-element" property element)
(declare-function org-element-type "org-element" (element))
(declare-function org-end-of-meta-data "org" (&optional full))
diff --git a/lisp/org-src.el b/lisp/org-src.el
index 1c72c5a8e..4fac93400 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -40,7 +40,7 @@
(declare-function org--get-expected-indentation "org" (element contentsp))
(declare-function org-mode "org" ())
(declare-function org--get-expected-indentation "org" (element contentsp))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-class "org-element" (datum &optional parent))
(declare-function org-element-context "org-element" (&optional element))
(declare-function org-element-lineage "org-element"
diff --git a/lisp/org-table.el b/lisp/org-table.el
index 05bbf2c41..293e7a918 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -47,7 +47,7 @@
(declare-function org-mode "org" ())
(declare-function org-duration-p "org-duration" (duration &optional canonical))
(declare-function org-duration-to-minutes "org-duration" (duration &optional canonical))
-(declare-function org-element-at-point "org-element" ())
+(declare-function org-element-at-point "org-element" (&optional pom cached-only))
(declare-function org-element-contents "org-element" (element))
(declare-function org-element-extract-element "org-element" (element))
(declare-function org-element-interpret-data "org-element" (data))
--
2.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-12 15:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-06 17:39 [PATCH] Fix signature for org-element-at-point Mark A. Hershberger
2022-01-12 14:28 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.