Created
December 19, 2017 19:25
-
-
Save jmercouris/5466a46071996e3481950f86aa9339c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun call-user-function () | |
(get-minibuffer-input "what's your age?" some-user-function)) | |
(defun some-user-function (input-1) | |
) | |
(defun get-minibuffer-input (prompt function) | |
(register-user-function function) | |
) | |
(defun return-minibuffer-input () | |
(funcall registered-user-function)) | |
(defun process-keystroke () | |
;; Call- return-minibuffer-input when relevant when user press RET | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment