guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 6ea73dc0059414db3a5e90490a8bbe29b110196a
Author: Cayetano Santos <[email protected]>
AuthorDate: Sun Jul 20 11:32:16 2025 +0200

    gnu: Add emacs-companion-mode.
    
    * gnu/packages/emacs-xyz.scm (emacs-companion-mode): New variable.
    
    Change-Id: I0648981e812c46ec95d15e2d675d9b7a0ec29a47
    Signed-off-by: Hilton Chain <[email protected]>
    Modified-by: Hilton Chain <[email protected]>
---
 gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2acaf96fbf..023471b3cf 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -11049,6 +11049,34 @@ Combobulate absolute clarity of all aspects of your 
code, enabling more
 correct movement and editing than you would otherwise have.")
       (license license:gpl3+))))
 
+(define-public emacs-companion-mode
+  ;; No tags or releases.
+  (let ((commit "2c3c794c583058db83e92e69b8cb1bf0c84551eb")
+        (revision "0"))
+    (package
+      (name "emacs-companion-mode")
+      ;; Version is extracted from the main file.
+      (version (git-version "0.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+            (url "https://codeberg.org/rahguzar/companion-mode/";)
+            (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0bi3y3r0y1n7kl6nrr0mpdp0zyr1mgcg8mrm5yxldfvdh2245jgq"))))
+      (build-system emacs-build-system)
+      (home-page "https://codeberg.org/rahguzar/companion-mode/";)
+      (synopsis "Pairing buffers for simulatenous display")
+      (description
+       "This package defines a global minor mode to pair buffers with a
+companion, such that when the buffer is displayed in a window, the companion is
+also displayed.")
+      (license license:gpl3+))))
+
 (define-public emacs-company
   (package
     (name "emacs-company")

Reply via email to