Function: cape-char--signature

cape-char--signature is a byte-compiled function defined in cape-char.el.

Signature

(cape-char--signature HASH NAME)

Documentation

Lookup NAME in HASH and return signature.

Source Code

;; Defined in ~/.emacs.d/elpa/cape-20260804.2303/cape-char.el
(defun cape-char--signature (hash name)
  "Lookup NAME in HASH and return signature."
  (when-let* ((val (gethash name hash)))
    (concat
     (and (stringp val) (concat val " = "))
     (mapconcat
      (lambda (char)
        (format "%c %s (%s)"
                char
                (get-char-code-property char 'name)
                (char-code-property-description
                 'general-category
                 (get-char-code-property char 'general-category))))
      (if (stringp val) val (list val))
      " + "))))