branch: elpa/popup commit 28762fca8a4a763ae63b75371750fb8717de98f4 Author: Syohei YOSHIDA <syo...@gmail.com> Commit: Syohei YOSHIDA <syo...@gmail.com>
Improve definition - Use #' for checking it is defined function - Specify data type --- popup.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/popup.el b/popup.el index 9409d0d..0e8e98f 100644 --- a/popup.el +++ b/popup.el @@ -887,10 +887,11 @@ Pages up through POPUP." (defvar popup-menu-show-quick-help-function 'popup-menu-show-quick-help "Function used for showing quick help by `popup-menu*'.") -(defcustom popup-isearch-regexp-builder-function 'regexp-quote +(defcustom popup-isearch-regexp-builder-function #'regexp-quote "Function used to construct a regexp from a pattern. You may for instance provide a function that replaces spaces by '.+' if you like helm or ivy style - of completion.") + of completion." + :type 'function) (defsubst popup-isearch-char-p (char) (and (integerp char)