summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Wong <wongandj@runbox.com>2025-11-09 10:09:35 -0500
committerCayetano Santos <csantosb@inventati.org>2025-11-29 11:11:19 +0100
commit063fc0e2135c09d64aea0381c641ff04e787a3de (patch)
tree62f6e93783c58241068f95bb7b032cd61c281b9c
parent141d7e3572e27c6ee94ccb2aae2e746dc952a980 (diff)
gnu: Add emacs-info-rename-buffer.
* gnu/packages/emacs-xyz.scm (emacs-info-rename-buffer): New variable. Change-Id: I7c70509279dea26bb9f4a3fedcb39ac4b3a50085 Signed-off-by: Cayetano Santos <csantosb@inventati.org>
-rw-r--r--gnu/packages/emacs-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9cc6941479a..49d1f558faf 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -38241,6 +38241,37 @@ outline-enabled table of contents, additional metadata association for Info
nodes, and more.")
(license license:gpl2+))))
+(define-public emacs-info-rename-buffer
+ ;; This commit is the one where the latest version number was set in the
+ ;; source. For some reason, MELPA refers to this same commit by a later
+ ;; version number.
+ (let ((commit "87fb263b18717538fd04878e3358e1e720415db8")
+ (revision "0"))
+ (package
+ (name "emacs-info-rename-buffer")
+ (version (git-version "20200328.1147" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/oitofelix/info-rename-buffer")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "07ylrbl9i2d09nspj481hkgcq9vs4ikvl86sfj7594zzdyy6b8qx"))))
+ (build-system emacs-build-system)
+ (arguments (list #:tests? #f)) ; There are no tests.
+ (home-page "https://github.com/oitofelix/info-rename-buffer")
+ (synopsis "Rename Info buffers to match manuals")
+ (description
+ "@code{info-rename-buffer-mode} is a global minor-mode that automatically
+renames Info buffers to match their visiting manual. That's a useful feature
+when consulting several Info manuals simultaneously, because it frees the user
+from the burden of renaming Info buffers to descriptive names manually before
+visiting another manual, thus avoiding accidentally overriding the currently
+visited node in case the user tries to open a new Info buffer.")
+ (license license:gpl3))))
+
(define-public emacs-eval-in-repl
(package
(name "emacs-eval-in-repl")