commit 4ffc5d561a8188088353d556d53c866035e31481
parent 20d4fc0ea45a53f7edbe99c83317a3e048e398ef
Author: jrs5 <jonathan.schmeling@generalgrowth.com>
Date: Sat, 9 May 2020 01:43:03 -0500
We'll allow the user to set the function themselves; they just have to
assure that the arguments of the function match what `completing-read` accepts.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/emojify.el b/emojify.el
@@ -487,6 +487,11 @@ buffer where emojis are going to be displayed selected."
:type 'hook
:group 'emojify)
+(defcustom emojify-completing-read-function #'completing-read
+ "Require same argument with `completing-read'."
+ :type 'function
+ :group 'emojify)
+
(defcustom emojify-composed-text-p t
"Should composed text be emojified."
:type 'boolean