Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jmercouris
Created December 19, 2017 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmercouris/5466a46071996e3481950f86aa9339c1 to your computer and use it in GitHub Desktop.
Save jmercouris/5466a46071996e3481950f86aa9339c1 to your computer and use it in GitHub Desktop.
(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