@@ -31684,6 +31684,34 @@ (define-public emacs-corfu-terminal
to enable. You'll probably want to enable it only in the terminal.")
(license license:gpl3+))))
+(define-public emacs-corfu-doc-terminal
+ (let ((commit "d8945c64b52d76e864b767b3048674f222daf80b")
+ (revision "0"))
+ (package
+ (name "emacs-corfu-doc-terminal")
+ (version (git-version "0.5" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://codeberg.org/akib/emacs-corfu-doc-terminal")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0j0dd8np5x93wic22bc5i9h7bq2gj700n4fh11dzzgsj14lv2r5k"))))
+ (build-system emacs-build-system)
+ (propagated-inputs
+ (list emacs-corfu emacs-corfu-doc emacs-corfu-terminal emacs-popon))
+ (home-page "https://codeberg.org/akib/emacs-corfu-doc-terminal/")
+ (synopsis "Documentation popup in terminal provided by corfu")
+ (description
+"@code{emacs-corfu-doc} uses child frames to display
+candidates. This makes @code{emacs-corfu-doc} unusable on
+terminal. @code{emac-corfu-doc-terminal} replaces that with
+@code{emacs-popon}, which works everywhere.")
+ (license license:gpl3+))))
+
(define-public emacs-popon
;; Upstream does not tag releases. The commit below matches the version
;; bump.