mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add emacs-unkillable-scratch.
* gnu/packages/emacs-xyz.scm (emacs-unkillable-scratch): New variable.
This commit is contained in:
parent
4968ea2c92
commit
e7c938b2bf
1 changed files with 25 additions and 0 deletions
|
@ -21212,3 +21212,28 @@ (define-public emacs-delight
|
||||||
(description "@code{delight} enables customizing or hiding the
|
(description "@code{delight} enables customizing or hiding the
|
||||||
mode-line text (lighter) of major and minor modes.")
|
mode-line text (lighter) of major and minor modes.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
(define-public emacs-unkillable-scratch
|
||||||
|
;; Use the latest (unreleased) commit as of now, since it contains a handy
|
||||||
|
;; `unkillable-scratch-do-not-reset-scratch-buffer' customization to not
|
||||||
|
;; repopulate the scratch buffer with `initial-scratch-message'.
|
||||||
|
(let ((commit "b24c2a760529833f230c14cb02ff6e7ec92288ab")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "emacs-unkillable-scratch")
|
||||||
|
(version (git-version "1.0.0" revision commit))
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/EricCrosson/unkillable-scratch.git")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "13wjbcxr3km4s96yhpavgs5acs5pvqv3ih1p84diqb3x3i6wd4pa"))))
|
||||||
|
(build-system emacs-build-system)
|
||||||
|
(home-page "https://github.com/EricCrosson/unkillable-scratch")
|
||||||
|
(synopsis "Prevents the *scratch* buffer from being killed")
|
||||||
|
(description "@code{unkillable-scratch} helps prevent killing buffers
|
||||||
|
matching a given regexp.")
|
||||||
|
(license license:gpl2+))))
|
||||||
|
|
Loading…
Reference in a new issue