Function: org-read-function
org-read-function is a byte-compiled function defined in org-macs.el.
Signature
(org-read-function PROMPT &optional ALLOW-EMPTY\?)
Documentation
Prompt for a function.
If ALLOW-EMPTY? is non-nil, return nil rather than raising an error when the user input is empty.
Source Code
;; Defined in ~/.emacs.d/elpa/org-9.8.2/org-macs.el
;;; Input
(defun org-read-function (prompt &optional allow-empty?)
"Prompt for a function.
If ALLOW-EMPTY? is non-nil, return nil rather than raising an
error when the user input is empty."
(let ((func (completing-read prompt obarray #'fboundp t)))
(cond ((not (string= func ""))
(intern func))
(allow-empty? nil)
(t (user-error "Empty input is not valid")))))