Function: helpful--format-alias
helpful--format-alias is a byte-compiled function defined in
helpful.el.
Signature
(helpful--format-alias SYM CALLABLE-P)
Source Code
;; Defined in ~/.emacs.d/elpa/helpful-20250408.334/helpful.el
(defun helpful--format-alias (sym callable-p)
(let ((obsolete-info (helpful--obsolete-info sym callable-p))
(sym-button (helpful--button
(symbol-name sym)
'helpful-describe-exactly-button
'symbol sym
'callable-p callable-p)))
(cond
(obsolete-info
(-if-let (version (-last-item obsolete-info))
(format "%s (obsolete since %s)" sym-button version)
(format "%s (obsolete)" sym-button)))
(t
sym-button))))