~louis77/sourcehut.el

88f4df69a9cbf18a1883795e66dd311e07147660 — Xinglu Chen 3 months ago 0703329 master
Add argument to `sourcehut-customized-p'.

* sourcehut.el (sourcehut-customized-p): Add SYMBOL argument as the
docs says.
1 files changed, 2 insertions(+), 1 deletions(-)

M sourcehut.el
M sourcehut.el => sourcehut.el +2 -1
@@ 99,7 99,8 @@ the whole buffer."
			  '("private" "public" "unlisted") nil t)
	 (read-string (format "Filename (default: %s): " (buffer-name))
		      nil nil (buffer-name))))
  (unless (sourcehut-customized-p) (call-interactively 'sourcehut-initialize))
  (unless (sourcehut-customized-p 'sourcehut-personal-access-token)
    (call-interactively 'sourcehut-initialize))
  (let* ((content (sourcehut-get-content))
	 (url-request-method "POST")
	 (url-request-extra-headers