Function: helpful--format-argument

helpful--format-argument is a byte-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 ~/.emacs.d/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))))