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

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

[nongnu] elpa/corfu-popup 0b2fd81ac0 17/26: Remove obsolete use of defin


From: ELPA Syncer
Subject: [nongnu] elpa/corfu-popup 0b2fd81ac0 17/26: Remove obsolete use of define-minor-mode
Date: Sun, 22 May 2022 12:58:16 -0400 (EDT)

branch: elpa/corfu-popup
commit 0b2fd81ac08ddb1c6394b4cd7decbb60ac1bf56b
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Remove obsolete use of define-minor-mode
---
 corfu-popup.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/corfu-popup.el b/corfu-popup.el
index 105ccd1bc7..5def7407d8 100644
--- a/corfu-popup.el
+++ b/corfu-popup.el
@@ -42,6 +42,12 @@
 (require 'popon)
 (require 'cl-lib)
 
+(defgroup corfu-popup nil
+  "Corfu popup on terminal."
+  :group 'convenience
+  :link '(url-link "https://codeberg.org/akib/emacs-corfu-popup";)
+  :prefix "corfu-popup-")
+
 (declare-function corfu--auto-tick "corfu") ;; OK, byte-compiler?
 
 (defvar corfu-popup--popon nil
@@ -168,8 +174,8 @@ Show a vertical scroll bar of size BAR + 1 from LOth line."
 ;;;###autoload
 (define-minor-mode corfu-popup-mode
   "Corfu popup on terminal."
-  nil nil nil
   :global t
+  :group 'corfu-popup
   (if corfu-popup-mode
       (progn
         (advice-add #'corfu--popup-show :override



reply via email to

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