Function: helpful--format-argument

helpful--format-argument is a natively compiled function defined in helpful.el.

Signature

(helpful--format-argument ARG)

Documentation

Format ARG (a symbol) according to Emacs help conventions.

Source Code

;; Defined in /nix/store/mvfc1hll8a1f23ivm3qmzj4bn64jr3x7-emacs-packages-deps/share/emacs/site-lisp/elpa/helpful-20250408.334/helpful.el
(defun helpful--format-argument (arg)
  "Format ARG (a symbol) according to Emacs help conventions."
  (let ((arg-str (symbol-name arg)))
    (if (s-starts-with-p "&" arg-str)
        arg-str
      (s-upcase arg-str))))