emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/hyperdrive 3db4bc0e32: Fix: Use \\+ instead of \\= to avoi


From: ELPA Syncer
Subject: [nongnu] elpa/hyperdrive 3db4bc0e32: Fix: Use \\+ instead of \\= to avoid spurious links in docstrings
Date: Fri, 5 Jan 2024 03:59:52 -0500 (EST)

branch: elpa/hyperdrive
commit 3db4bc0e326675d27e52791d182c0eae28508695
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>

    Fix: Use \\+ instead of \\= to avoid spurious links in docstrings
    
    From [[info:elisp#Keys in Documentation]]:
    
    ‘\=’
         quotes the following character and is discarded; thus, ‘\=`’ puts
         ‘`’ into the output, ‘\=\[’ puts ‘\[’ into the output, and ‘\=\=’
         puts ‘\=’ into the output.
    
    ‘\+’
         This indicates that the symbol directly following should not be
         marked as link in the ‘*Help*’ buffer.
    
       *Please note:* Each ‘\’ must be doubled when written in a string in
    Emacs Lisp.
---
 hyperdrive-lib.el  |  4 ++--
 hyperdrive-vars.el | 18 +++++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 3064e7881a..29cfedbd58 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -363,9 +363,9 @@ With non-nil VERSION, use it instead of ENTRY's version."
 Returned newly-constructed alist where each range-end is always
 1- the following range-start.  Each gap is filled with a cons cell
 whose car is the range start and whose cdr is a plist with a
-numerical \\=`:range-end' and \\=`:existsp' set to \\=`unknown':
+numerical \\+`:range-end' and \\+`:existsp' set to \\+`unknown':
 
-\(RANGE-START . (\\=`:range-end' RANGE-END \\=`:existsp' \\=`unknown'))
+\(RANGE-START . (\\+`:range-end' RANGE-END \\+`:existsp' \\+`unknown'))
 
 When the final range's range-end is less than ENTRY's
 hyperdrive's latest-version slot, the final gap is filled."
diff --git a/hyperdrive-vars.el b/hyperdrive-vars.el
index 27d93066b9..74d2977e30 100644
--- a/hyperdrive-vars.el
+++ b/hyperdrive-vars.el
@@ -231,15 +231,15 @@ see."
   "Alist mapping hyperdrive and hyperdrive entry metadata item to format 
string.
 Each metadata item may be one of:
 
-- \\=`name' (Entry name)
-- \\=`path' (Entry path)
-- \\=`version' (Entry version)
-- \\=`petname' (Hyperdrive petname)
-- \\=`nickname' (Hyperdrive nickname)
-- \\=`domains' (Hyperdrive domains)
-- \\=`public-key' (Hyperdrive public key)
-- \\=`short-key' (Hyperdrive short key)
-- \\=`seed' (Hyperdrive seed)
+- \\+`name' (Entry name)
+- \\+`path' (Entry path)
+- \\+`version' (Entry version)
+- \\+`petname' (Hyperdrive petname)
+- \\+`nickname' (Hyperdrive nickname)
+- \\+`domains' (Hyperdrive domains)
+- \\+`public-key' (Hyperdrive public key)
+- \\+`short-key' (Hyperdrive short key)
+- \\+`seed' (Hyperdrive seed)
 
 In each corresponding format string, \"%s\" is replaced with the
 value (and should only be present once in the string).  Used in



reply via email to

[Prev in Thread] Current Thread [Next in Thread]