[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 600c921605 081/102: Tidy: Rename "naming" to "f
|
From: |
ELPA Syncer |
|
Subject: |
[nongnu] elpa/hyperdrive 600c921605 081/102: Tidy: Rename "naming" to "format" |
|
Date: |
Wed, 29 Nov 2023 04:00:57 -0500 (EST) |
branch: elpa/hyperdrive
commit 600c92160571efaf17613d7b6b1e819f90f994c1
Author: Joseph Turner <joseph@ushin.org>
Commit: Adam Porter <adam@alphapapa.net>
Tidy: Rename "naming" to "format"
---
hyperdrive-lib.el | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index f2be6f9d4b..cf0aefc3a5 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -969,9 +969,9 @@ according to FORMATS, by default `hyperdrive-formats',
which see."
hyperdrive)
(format (or format "%H"))
(formats (or formats h/formats)))
- (cl-labels ((fmt (naming value face)
+ (cl-labels ((fmt (format value face)
(if value
- (format (alist-get naming formats)
+ (format (alist-get format formats)
(propertize value 'face face))
"")))
(format-spec format
@@ -992,18 +992,18 @@ according to FORMATS, by default `hyperdrive-formats',
which see."
","))
""))))))))
-(defun h//preferred-format (hyperdrive &optional naming formats)
+(defun h//preferred-format (hyperdrive &optional format formats)
"Return HYPERDRIVE's formatted hostname, or nil.
-NAMING should be one or a list of symbols, by default
+FORMAT should be one or a list of symbols, by default
`hyperdrive-preferred-formats', which see for choices. If the
-specified NAMING is not available, return nil.
+specified FORMAT is not available, return nil.
-Each item in NAMING is formatted according to FORMATS, set by
+Each item in FORMAT is formatted according to FORMATS, set by
default to `hyperdrive-formats', which see."
(pcase-let* (((cl-struct hyperdrive petname public-key domains seed
(metadata (map ('name nickname))))
hyperdrive))
- (cl-loop for f in (ensure-list (or naming h/preferred-formats))
+ (cl-loop for f in (ensure-list (or format h/preferred-formats))
when (pcase f
((and 'petname (guard petname))
(h//format hyperdrive "%P" formats))
@@ -1372,9 +1372,9 @@ FORMAT is a `format-spec' specifier string which maps to
specifications
according to FORMATS, by default `hyperdrive-formats', which see."
(pcase-let* (((cl-struct hyperdrive-entry hyperdrive name path version)
entry)
(formats (or formats h/formats)))
- (cl-labels ((fmt (naming value)
+ (cl-labels ((fmt (format value)
(if value
- (format (alist-get naming formats) value)
+ (format (alist-get format formats) value)
"")))
(propertize
(format-spec (or format h/default-entry-format)
- [nongnu] elpa/hyperdrive updated (040fc00500 -> 758c2444a5), ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 51fcdf2672 003/102: Fix: (hyperdrive-menu.el) Fix section levels, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 8d5d248468 002/102: Change: (-mirror-read-predicate) Return nil when mirroring all files, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 8cde9dc75e 005/102: Change: (-menu{, -hyperdrive}) Refresh after every command, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive c57a41225f 014/102: Change (-mirror-configured-p) Don't check for target, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 4d9b8c09cc 025/102: Change: (hyperdrive-menu) Replace lambda with hyperdrive-up, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 7fd3e0f471 033/102: Comment: Add TODO, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive b682fc8058 052/102: Change: (--entry-version-range-key) Don't pass :with-help-echo, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 299e100c03 026/102: Comment: Add TODO, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive b1cc39978b 091/102: Comment: Remove TODO, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 600c921605 081/102: Tidy: Rename "naming" to "format",
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 9c0cf70040 094/102: Fix: (h//format) Don't use lambdas in format-spec yet, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive fe986e53ee 079/102: Chore: Rebuild texi manual, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 89fb114bdd 093/102: Fix: Autoload for markdown-mode links, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive ab2fb6e8ea 009/102: Change: (-menu-hyperdrive) Place mirror commands in separate column, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive b403a9c7a3 044/102: Add: (hyperdrive-buffer-name-format), ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 60d37a34ec 029/102: Change: (-mirror-set-filter) Wording of formatted nil value, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive b2afbfaa60 046/102: Change: Replace -entry-description with --format-entry, etc., ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 214a060f75 001/102: Fix: (-mirror-read-predicate) Require match for predicate type, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 9d8de7ed67 006/102: Change: (-menu-set-nickname) No longer explicitly refresh transient, ELPA Syncer, 2023/11/29
- [nongnu] elpa/hyperdrive 74b0eb400f 032/102: Fix/Docs: Reword as suggested by makeinfo, ELPA Syncer, 2023/11/29