Subject: bug#36826: 26.1; request: add variable value editing feature to the *Help* buffer

From: Juri Linkov <[email-masked]>
Date: Mon, 29 Jul 2019 21:15:18 +0300

> I mentioned `set-variable'.  But it is only for user options.

I use such advice to workaround this restriction:

;; Allow set-variable to set all variables, not only customizable ones:
(advice-add 'set-variable :around
	    (lambda (orig-fun &rest args)
	      (interactive (lambda (spec)
			     (cl-letf (((symbol-function 'custom-variable-p)
                                        (lambda (v)
                                          (and (symbolp v) (boundp v)))))
                               (advice-eval-interactive-spec spec))))
	      (cl-flet ((custom-variable-p (v) t))
		(apply orig-fun args)))
	    '((name . override-custom-variable)))

But I agree with Michael this should be allowed only to developers.