[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add emacs-switch-buffer-functions.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add emacs-switch-buffer-functions. |
Date: |
Sun, 02 Feb 2020 09:17:20 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 2cb9b04 gnu: Add emacs-switch-buffer-functions.
2cb9b04 is described below
commit 2cb9b0453d87aaad15cb5c43702dfa8a109c53cb
Author: Amin Bandali <address@hidden>
AuthorDate: Sun Feb 2 15:16:49 2020 +0100
gnu: Add emacs-switch-buffer-functions.
* gnu/packages/emacs-xyz.scm (emacs-switch-buffer-functions): New variable.
---
gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1812a7b..3e81746 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21238,6 +21238,29 @@ mode-line text (lighter) of major and minor modes.")
matching a given regexp.")
(license license:gpl2+))))
+(define-public emacs-switch-buffer-functions
+ (package
+ (name "emacs-switch-buffer-functions")
+ (version "0.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/10sr/switch-buffer-functions-el.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0pq53b8wrjbrxd5hnrcdi0z7mffp4bax55hn90k9ca3j76lhbn1k"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/10sr/switch-buffer-functions-el")
+ (synopsis "Hooks run when switching current buffer")
+ (description "This package provides a hook variable
+@code{switch-buffer-functions}. The hooks will be run when the current buffer
+is changed after an interactive command, i.e., when @code{post-command-hook}
+hooks are run. The hooked functions will be called with both the previous and
+the current buffer.")
+ (license license:unlicense)))
+
(define-public emacs-dmenu
;; Use the latest commit, as there are no tagged releases.
(let ((commit "e8cc9b27c79d3ecc252267c082ab8e9c82eab264")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add emacs-switch-buffer-functions.,
guix-commits <=