]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/emacs-lisp/pcase.el (pcase--subtype-bitsets): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Thu, 28 Mar 2024 09:34:25 +0000 (11:34 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 28 Mar 2024 10:28:50 +0000 (11:28 +0100)
(cherry picked from commit 35ae2c576b8570da7b2e791991ad852c648be896)

lisp/emacs-lisp/pcase.el

index e2d0c0dc06851d522012e5cb6b43e797e1533d54..23f1bac600cdeb933d76bf117c44d5b4ebd885f7 100644 (file)
@@ -688,8 +688,9 @@ recording whether the var has been referenced by earlier parts of the match."
       ;; start compiling code, and hence baking the result into files).
       (with-eval-after-load 'cl-preloaded
         (defconst pcase--subtype-bitsets (pcase--subtype-bitsets)))))
-  "Table mapping predicates to their set of types.
-These are the set of built-in types for which they may return non-nil.
+  "Hash table mapping type predicates to their sets of types.
+The table maps each type predicate, such as `numberp' and `stringp',
+to the set of built-in types for which the predicate may return non-nil.
 The sets are represented as bitsets (integers) where each bit represents
 a specific leaf type.  Which bit represents which type is unspecified.")