emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/popup 28762fc 138/184: Improve definition


From: ELPA Syncer
Subject: [nongnu] elpa/popup 28762fc 138/184: Improve definition
Date: Wed, 6 Oct 2021 00:01:29 -0400 (EDT)

branch: elpa/popup
commit 28762fca8a4a763ae63b75371750fb8717de98f4
Author: Syohei YOSHIDA <syohex@gmail.com>
Commit: Syohei YOSHIDA <syohex@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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]