From 4935006c842607a56e9c97497a7adb72f76a3fbb Mon Sep 17 00:00:00 2001 From: JenChieh Date: Mon, 22 Apr 2024 00:23:20 -0700 Subject: [PATCH] use def avoid pref --- mbs.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbs.el b/mbs.el index 0b95e26..9f9e3db 100644 --- a/mbs.el +++ b/mbs.el @@ -40,7 +40,8 @@ :group 'tools :link '(url-link :tag "Repository" "https://github.com/jcs-elpa/mbs")) -(defconst mbs-read-file-name-commands '(read-file-name) +(defconst mbs-read-file-name-commands + `(,(or read-file-name-function #'read-file-name-default)) "List of command to detect find file action.") (defvar mbs-reading-file-name-p nil