Function: forge--new-topic-set-slot-command-p

forge--new-topic-set-slot-command-p is a byte-compiled function defined in forge-post.el.

Signature

(forge--new-topic-set-slot-command-p OBJ)

Documentation

Return non-nil if OBJ is an object of type forge--new-topic-set-slot-command(var)/forge--new-topic-set-slot-command(fun).

Source Code

;; Defined in ~/.emacs.d/elpa/forge-20260408.1922/forge-post.el
(defclass forge--new-topic-set-slot-command (transient-lisp-variable)
  ((name :initarg :name)
   (reader :initarg :reader)
   (formatter :initarg :formatter)
   (format :initform " %k %d")
   (description :initform (lambda (obj)
                            (with-slots (name variable formatter) obj
                              (if-let* ((value (symbol-value variable))
                                        (value (funcall formatter value)))
                                  (format "%s %s" name value)
                                (format "%s" name)))))))