From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SbcyLujLWWFq3AAAgWs5BA (envelope-from ) for ; Sun, 03 Oct 2021 17:27:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WNthKejLWWFgAQAA1q6Kng (envelope-from ) for ; Sun, 03 Oct 2021 15:27:36 +0000 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 53FA95066 for ; Sun, 3 Oct 2021 17:27:36 +0200 (CEST) Received: from localhost ([::1]:60118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mX3Oo-0002Fc-DH for larch@yhetil.org; Sun, 03 Oct 2021 11:27:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX3Nt-0002Bo-Lq for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 11:26:37 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:41554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mX3Nq-0006Pf-TQ for emacs-orgmode@gnu.org; Sun, 03 Oct 2021 11:26:37 -0400 Received: by mail-qt1-x836.google.com with SMTP id t2so13728101qtx.8 for ; Sun, 03 Oct 2021 08:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=4lxZGHr4fbn7JMwwfNls8u5/hWYSmUTSlQqfD7UknC8=; b=iVztA8F1O0Ae8EXZzmZJfNTHLqJ3RhJN4FNmMLjSCEj7tHGCZyKYKYOtM3xqDI/rYm GgltvR55TsQOQEbO96WfFUx5ahUEL64PJmMFJuqkyrJURkVxn32z+ZpvId4KGfrVH0N6 OzGkwFFoTvKAwfq4c2JzQXo+AFxkYTcCQdmBpCisQtRhboWbFRM56GBMYW1R46OZnugy QoeRUJH3Nkpn6AxriNUCLBbBEAmW+HoR+W9FqtInK3h3o5j+Bnlb7LUnH+ZAyBs1ZfV8 KRdhU8PX321nEsI0PjAyj3bCUt77fchYkjDKy8UNMg58KdUNYeyuup4qcifPyjJa4V5W xjzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=4lxZGHr4fbn7JMwwfNls8u5/hWYSmUTSlQqfD7UknC8=; b=GlUJ8mM614beMAMPdDw+eCnkBu1eUdGCtMkCpeKZ/Iml22g1ZYZcsKxmjo2JeDsSHA uuPPChCnD5MG7GOrZsageOHKQTgNxqDg+Oftf0LSDWaumCOeRCTbJ1cwG5o50+geumeP tpnnF5f7Vyd68zbBXGpzF4BwsO6oui0lf8xnU0MY7AxDLen2BaRXA+panqu9HXUqj6+4 I30UE+oKzLAeVdbG520SIbkhKy4hSYuMuKwbhw03fsQ2rFQYvPKNEENriKSnWFmujdfB Hg29IgZV+7hYzX0wtTZsFOKHQCAPRcnx22q6xun0CS8rC7fcPJIMgAsC4v30mBhOjO5O +fVg== X-Gm-Message-State: AOAM531YumaUj74nCY9IsZDkJ6HHRRzoOzTZdSo0GhNKjRZZRMNUqeKH wj0Yy+6Eq7T5zBLgcuDYzTeGBPISxJ1AHw== X-Google-Smtp-Source: ABdhPJxclMeM2BPOZCdcUUhZ+dXSl1YpZpXnUdNd5qlvzHZe1e/lhtub77BLFLEohrWbk939o3TLSA== X-Received: by 2002:ac8:42d6:: with SMTP id g22mr8888677qtm.17.1633274793174; Sun, 03 Oct 2021 08:26:33 -0700 (PDT) Received: from arch ([2601:82:c200:166d:afae:ebe6:a0e2:409e]) by smtp.gmail.com with ESMTPSA id d82sm6177025qke.55.2021.10.03.08.26.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Oct 2021 08:26:32 -0700 (PDT) User-agent: mu4e 1.7.0; emacs 28.0.50 From: No Wayman To: emacs-orgmode@gnu.org Subject: [BUG] [PATCH] org-archive.el: Fix checkdoc warnings [9.5 (9.5-g477f05 @ /home/n/.emacs.d/straight/build/org/)] Date: Sun, 03 Oct 2021 11:20:38 -0400 Message-ID: <87lf3a3zaj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qt1-x836.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633274856; 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=4lxZGHr4fbn7JMwwfNls8u5/hWYSmUTSlQqfD7UknC8=; b=Uxth4LsRdqG5bbbmfwSF1JFeg7/cQL9jyST1mHikJL0BtpW7VAlSnwFtkABEf9gHF/tYjT +hGBfnX2deU4MT3O9/3J75v5d5UDxaZY6GPBvWJaeuQLTWeBxBHYR8sTLu2xeHwmnxAtaz BNl17cN5Drzsoya3Pekax0n/94IxWJ0TzCf9ceYwo0CEc9OVpEM35DGQKjAd6giYnzXOyp /bGRwJvaP9ssJeOFABaJ1PJb2m4JGL45ld2kHxbeCyvCeHRSlm4015USSxxXMKdDy8YB2i Do/7C1l+HX4NksviFa613cOgpDZ5N4YRot1dSjqYVHsNOjtSUgk+d3LHAHqIMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633274856; a=rsa-sha256; cv=none; b=ArDiLgLYEbjvE5K9lszDetKVNbiQBTi3TWPC0terPkHDbKsS6V7BHIqjVOqsX/Qnqz2c6k KzkJ4vGo/kCPR3BDcC8ZlMuQ/FpLJVvB1SCJouWjpLrM8PpsE7G9mjoCN57trLgbx11qRU eCR83w4yh42NCSYoiimiTeG9cCFZLqq0W2TsX2tXeLTOjy8bnDklSMTrei1G8mPuepn+F0 XzNYD0mDyv9Yy6OL0/pxQ0+5Rh1+s5flSR5Hng5tOs2m4YeQjUvMwNAW0U7HprkP4NfROY pCTq4FspUlI29qsBHjddzEECZPAZiNp6G/tqCQebpu2KV0/yBWZRJBUrZ4rPEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iVztA8F1; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -4.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=iVztA8F1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 53FA95066 X-Spam-Score: -4.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: HU6QinkygQO3 --=-=-= Content-Type: text/plain; format=flowed See Attached. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-org-archive.el-Fix-checkdoc-warnings.patch >From e995d2ed668edd9f29e9a8aeaf39bb0eb039e856 Mon Sep 17 00:00:00 2001 From: Nicholas Vollmer Date: Thu, 30 Sep 2021 16:07:15 -0400 Subject: [PATCH] org-archive.el: Fix checkdoc warnings * org-archive.el: Fix checkdoc warnings. --- lisp/org-archive.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lisp/org-archive.el b/lisp/org-archive.el index 0943869a8..db8c02049 100644 --- a/lisp/org-archive.el +++ b/lisp/org-archive.el @@ -148,7 +148,7 @@ archive location, but not yet deleted from the original file.") ;;;###autoload (defun org-add-archive-files (files) - "Splice the archive files into the list of files. + "Splice the archive files into the list of FILES. This implies visiting all these files and finding out what the archive file is." (org-uniquify @@ -580,8 +580,9 @@ don't move trees, but mark them with the ARCHIVE tag." ;;;###autoload (defun org-toggle-archive-tag (&optional find-done) "Toggle the archive tag for the current headline. -With prefix ARG, check all children of current headline and offer tagging -the children that do not contain any open TODO items." +When called interactively with \\[universal-argument], or FIND-DONE is +non-nil, check current headline's children and offer tagging for +children which do not contain any open TODO items." (interactive "P") (if (and (org-region-active-p) org-loop-over-headlines-in-active-region) (let ((cl (if (eq org-loop-over-headlines-in-active-region 'start-level) -- 2.33.0 --=-=-=--