From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6A4YFNwwi2CpUgEAgWs5BA (envelope-from ) for ; Fri, 30 Apr 2021 00:19:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qPuwD9wwi2APMQAAbx9fmQ (envelope-from ) for ; Thu, 29 Apr 2021 22:19:08 +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 C5A45CA81 for ; Fri, 30 Apr 2021 00:19:07 +0200 (CEST) Received: from localhost ([::1]:54632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcEzy-000634-V0 for larch@yhetil.org; Thu, 29 Apr 2021 18:19:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcEzO-00061d-JS for emacs-orgmode@gnu.org; Thu, 29 Apr 2021 18:18:30 -0400 Received: from mail-qk1-f178.google.com ([209.85.222.178]:46770) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcEzN-0006tj-6N for emacs-orgmode@gnu.org; Thu, 29 Apr 2021 18:18:30 -0400 Received: by mail-qk1-f178.google.com with SMTP id v23so16838615qkj.13 for ; Thu, 29 Apr 2021 15:18:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=D+8fojz6OblCgTfGoo6V+oNxFto5S4dfIlxT8wrYpsw=; b=bbLap6/kzJ0m1/6BCdRh9ZBWFjQuR22tezPfvk64ZvYUcy86NWC+nxd7MITsLZfNuP RFhPXWkp0dEo9SfiUXt8/4EwIp9RfZX2lF7BFi9tADXLd3467fnIasIOUUrX+4xJGcVC rejNH2OD4N1DNTDsirO3/7G//aXwe1ZAIBJ1GQwR4ARaEpgd716agOHlxLkwCJUNp2R9 winmRiFU3q7HZwQa7rzZ+NyxY6bnXO2sOfBAF0zmpDfMBrGm8SKsNtO2sxQoMLfoPY6m hqJjC4XchGFU8GBUWiqRuJ7TKygHdyJ4LmvoBWBE6q13SqqNfpIFiZ45G/RhraOejpI2 W7Sg== X-Gm-Message-State: AOAM530IrGdcTbLdhsHPi0ZPG807e35b0OgK0pRI5tYdtIpiPCZ+DcOm kaSVcCgAMD462fX0QAeFhdozgsRV4zc= X-Google-Smtp-Source: ABdhPJwkDha16Ih5RNK9fP2i/VW5hEuW8q2J46iW51ccklFgq49hvHRJ1xLY3zD8i67n0ROZPdzNCA== X-Received: by 2002:a37:e30c:: with SMTP id y12mr2077271qki.244.1619734707385; Thu, 29 Apr 2021 15:18:27 -0700 (PDT) Received: from localhost.localdomain (pool-72-80-73-102.nycmny.fios.verizon.net. [72.80.73.102]) by smtp.gmail.com with ESMTPSA id y21sm3097710qki.103.2021.04.29.15.18.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Apr 2021 15:18:27 -0700 (PDT) From: "Aaron L. Zeng" To: emacs-orgmode@gnu.org Subject: [PATCH] ol.el: Fix confusing variable name Date: Thu, 29 Apr 2021 18:18:24 -0400 Message-Id: <20210429221824.69965-1-me@bcc32.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=209.85.222.178; envelope-from=zeng.aaron.l@gmail.com; helo=mail-qk1-f178.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Cc: "Aaron L. Zeng" 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=1619734747; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=D+8fojz6OblCgTfGoo6V+oNxFto5S4dfIlxT8wrYpsw=; b=PVuN5sEClIziK8lEHpWyV5wme4T1x+NXPjedLVYi+hZENVnBoDRPTlgCpL0lBrgf3YC5bA hCyGDsgdr4l9lOlmafbpwT6CnL+PQc5dmAfPhgYCUX47lRDJppsZQ7V/kIEGx8A/56XGmI DCTL2A/SCdH7soJKsTOdaPz3sXwk0ZJ4GbijRHfm8nEkRnV1oSd8HEwpIixmGiwRPC3DTr tcQ9Q7/K15DiXHMDRoktsjKzaoxD1j8hEkYbt5n41dNgKGKMmgzLp33eYXinfAVfhtvyWi LqWeV2tVgxRkUC9ZS+OUywI5Ut0K5F1y6sNizxGvE0+8Ky10PLurL/PQ1wHQMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619734747; a=rsa-sha256; cv=none; b=QQFw64lP6HfbqJY140cmiRK5AN2+HnAtBGqJ/2kZR4AojKPM8XJGGy4QdQT71YyeT+VTSU NfLxF9fG3y/JaGRRlLQElRwYrAP8Yvi3H3jqzfM5yUr2N64roVI5K4IM+oa0R94BwGjiW/ 3BQv2c8GGu8PeX9mX31pdDxABbv4OGE3YJZogLwpPxq5g2JNhT1V0dCN2K0o5Z0ZxyIBAB djOC4ZQrg32hLe/skEvPH6QArwE5gNg8GJqImwXLqNvzWAuw7ClSGhWPMAprw0hMO271rj SeJznz6nRxzlu8fko7eOBoa03QMO7L2GL8xLVn+eaNmD+7AsVCZ8O23hu9QCew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: 2.54 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: C5A45CA81 X-Spam-Score: 2.54 X-Migadu-Scanner: scn0.migadu.com X-TUID: X3nFW+qPXrFQ * ol.el (org-link--open-help): Fix a confusing variable name. No behavior changes. TINYCHANGE --- lisp/ol.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/ol.el b/lisp/ol.el index 62ea6d2bc..617223cb5 100644 --- a/lisp/ol.el +++ b/lisp/ol.el @@ -1325,8 +1325,8 @@ PATH is the sexp to evaluate, as a string." "Open a \"help\" type link. PATH is a symbol name, as a string." (pcase (intern path) - ((and (pred fboundp) variable) (describe-function variable)) - ((and (pred boundp) function) (describe-variable function)) + ((and (pred fboundp) function) (describe-function function)) + ((and (pred boundp) variable) (describe-variable variable)) (name (user-error "Unknown function or variable: %s" name)))) (defun org-link--store-help () -- 2.31.1