From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yCh3JA0s12F1dAEAgWs5BA (envelope-from ) for ; Thu, 06 Jan 2022 18:51:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WFgVIQ0s12GO9gAAauVa8A (envelope-from ) for ; Thu, 06 Jan 2022 18:51:09 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9A6ED39E61 for ; Thu, 6 Jan 2022 18:51:08 +0100 (CET) Received: from localhost ([::1]:52432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5Wup-0007eL-N4 for larch@yhetil.org; Thu, 06 Jan 2022 12:51:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:51222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Wo4-00028k-TD for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 12:44:11 -0500 Received: from nospam.nichework.com ([206.71.169.33]:56037) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5Wo2-00072T-64 for emacs-orgmode@gnu.org; Thu, 06 Jan 2022 12:44:08 -0500 Received: from localhost (localhost.localdmain [127.0.0.1]) by nospam.nichework.com (Postfix) with ESMTP id E3FFFB004C for ; Thu, 6 Jan 2022 12:40:36 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at nospam.nichework.com Received: from nospam.nichework.com ([127.0.0.1]) by localhost (nospam.nichework.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H3nRV6PtTeUh for ; Thu, 6 Jan 2022 12:40:36 -0500 (EST) Received: from mail.nichework.com (mail.nichework.com [108.161.151.158]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by nospam.nichework.com (Postfix) with ESMTPS id 4DD98B0046 for ; Thu, 6 Jan 2022 12:40:36 -0500 (EST) Received: from mail.nichework.com (localhost [127.0.0.1]) by mail.nichework.com (Postfix) with ESMTPS id A690B4E0118 for ; Thu, 6 Jan 2022 17:43:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.nichework.com (Postfix) with ESMTP id 83CAD4E0171 for ; Thu, 6 Jan 2022 17:43:48 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.nichework.com 83CAD4E0171 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nichework.com; s=897144A4-59D1-11EA-885D-1509A2A44C35; t=1641491028; bh=XfMJbhxPdLIjTLgC6A19rGRQfmbjDsFa8k5vzMszDRY=; h=From:To:Date:Message-ID:MIME-Version; b=G4h2FbAJ2X4ppUx9IitAL3Bjr9PfMCqD6A23RTj66v/QR9ci2LKBXSgfnzC82N1YT lubeP8XGLCYbhFmIfUGprZHUaxJoIeVmUxxY0yd+kYUjg7mhsbV7MojOPUIUAiR88h reRNTdlBgAQrY0YN5KChqymxNMTK1UecBAy0AKVGIpsJBC8pF51C0GMBvaGoccxcgR mbW5Aq6i+eOJOShhqclRQrvyjq+3C0qx4WtovhjamlVUUGOShpO7Gcy3D54iM5D42h KfO6aPRBpnEH1rgCnFwoicZPJtZYRq+8v4Jy2cvTLRfLRnXoUBUruZ+Fmf/6JHTFdi 5pm1fMUoV31/w== Received: from mail.nichework.com ([127.0.0.1]) by localhost (mail.nichework.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id bCsfOUuuVH8b for ; Thu, 6 Jan 2022 17:43:48 +0000 (UTC) Received: from silk.everybody.org (209-253-11-94.ip.mcleodusa.net [209.253.11.94]) by mail.nichework.com (Postfix) with ESMTPSA id 3C9B44E0118 for ; Thu, 6 Jan 2022 17:43:48 +0000 (UTC) From: "Mark A. Hershberger" To: emacs-orgmode@gnu.org Subject: [PATCH] Fix signature for org-element-at-point Date: Thu, 6 Jan 2022 12:39:05 -0500 Message-ID: <877dbckbej.fsf@everybody.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=206.71.169.33; envelope-from=mah@nichework.com; helo=nospam.nichework.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641491469; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XfMJbhxPdLIjTLgC6A19rGRQfmbjDsFa8k5vzMszDRY=; b=DbERDmiGaBaRMh8WwDJ1eBMohDYnsXEP2zA8s1iViOda8cXcBqlsTmQArlPwbN/uLKfXZ1 Qc6xo064R7zOHe2Qf+/OON20RiiI+P7eIGbB+H68UrAtL0bScQBRBvDvkeE3kfgOAX8QCA oqkijeUvbkMCNYtlze2JCBRqkhId93C3WcBGUyPsQySmuyzpSONfS3eTSR8wIGzR4H1cyH X6Brmj6oKJvX8VKKhTLWmqRK29v22l8xWMEBE2v8sSk9rDiZKhHl8+1v1DbA8hDUvJ3G5r o2EMMHfxUCIzLgidbUTsbE3CI1iZngmp78jyxrwPjZpnu33Fx4+BAzr/bkM7vQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641491469; a=rsa-sha256; cv=none; b=Z5xVdqHaflda/7zZcqFIFmb+21Va8Ni8DPJ2/rLrSUCoxHgzgzlMCdslZp6ZY5V4aHknWs h66d76vkpd96gPTiF/c1OM5IzlHHE/4RabJPexqJqJtPQY4SSXaIcI2cgB+L7GKkdbfVV0 N51LF4XwN6PfkRWRYYb4rZClc2h+6gB1CEN5HdRckWxoy7suM/R3gI8P/FRxDBCZpT0MKp 0v+nqvdb3lqOj7E61rgLWJrARXhM5iPQs/xFjueeyj+2RCLS6XgopiMsI7JHpQkAPzsY4c UZMsmT7DI2pPLSRnN/3Vtx5110uW12MVlFWf3r3yMOVhRUeNYszfGBHew+nezw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=nichework.com header.s=897144A4-59D1-11EA-885D-1509A2A44C35 header.b=G4h2FbAJ; dmarc=pass (policy=none) header.from=nichework.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -10.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=nichework.com header.s=897144A4-59D1-11EA-885D-1509A2A44C35 header.b=G4h2FbAJ; dmarc=pass (policy=none) header.from=nichework.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9A6ED39E61 X-Spam-Score: -10.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6zJWI7/kmOG0 --- 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