From 3d4fe70ee5b98bedd01322b87ead9be3eadc6588 Mon Sep 17 00:00:00 2001 From: Alan Mackenzie Date: Sun, 7 Dec 2025 12:41:45 +0000 Subject: [PATCH] Eliminate possible confusion in comments in registry.el. This will prevent any recurrence of bug#79870 (whose cause has not been established). * lisp/registry.el (Header comments): Replace ";; version: a float" with ";; version - a float", etc., to prevent ";; version:" being wrongly recognized by loaddefs-generate--parse-file. --- lisp/registry.el | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lisp/registry.el b/lisp/registry.el index 3b489ea88b7..07bbe179959 100644 --- a/lisp/registry.el +++ b/lisp/registry.el @@ -25,24 +25,24 @@ ;; This library provides a general-purpose EIEIO-based registry ;; database with persistence, initialized with these fields: -;; version: a float +;; version - a float -;; max-size: an integer, default most-positive-fixnum +;; max-size - an integer, default most-positive-fixnum -;; prune-factor: a float between 0 and 1, default 0.1 +;; prune-factor - a float between 0 and 1, default 0.1 -;; precious: a list of symbols +;; precious - a list of symbols -;; tracked: a list of symbols +;; tracked - a list of symbols -;; tracker: a hash table tuned for 100 symbols to track (you should +;; tracker - a hash table tuned for 100 symbols to track (you should ;; only access this with the :lookup2-function and the ;; :lookup2+-function) -;; data: a hash table with default size 10K and resize threshold 2.0 +;; data - a hash table with default size 10K and resize threshold 2.0 ;; (this reflects the expected usage so override it if you know better) -;; ...plus methods to do all the work: `registry-search', +;; ...plus methods to do all the work - `registry-search', ;; `registry-lookup', `registry-lookup-secondary', ;; `registry-lookup-secondary-value', `registry-insert', ;; `registry-delete', `registry-prune', `registry-size' which see