emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39321: closed ([PATCH] gnu: Add emacs-unkillable-scratch.)


From: GNU bug Tracking System
Subject: bug#39321: closed ([PATCH] gnu: Add emacs-unkillable-scratch.)
Date: Tue, 28 Jan 2020 19:22:02 +0000

Your message dated Tue, 28 Jan 2020 20:21:22 +0100
with message-id <address@hidden>
and subject line Re: [bug#39321] [PATCH] gnu: Add emacs-unkillable-scratch.
has caused the debbugs.gnu.org bug report #39321,
regarding [PATCH] gnu: Add emacs-unkillable-scratch.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
39321: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39321
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add emacs-unkillable-scratch. Date: Mon, 27 Jan 2020 18:51:21 -0500
* gnu/packages/emacs-xyz.scm (emacs-unkillable-scratch): 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 c5214405d0..0ff2f5d0c0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21125,3 +21125,26 @@ pattern guessed from thing under current cursor 
position.
 mercury-mode provided by Emacs as a wrapper around prolog-mode.")
       (home-page "https://github.com/ahungry/metal-mercury-mode";)
       (license license:gpl3+))))
+
+(define-public emacs-unkillable-scratch
+  (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+))))
-- 
2.25.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#39321] [PATCH] gnu: Add emacs-unkillable-scratch. Date: Tue, 28 Jan 2020 20:21:22 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Amin Bandali <address@hidden> writes:

> If you meant latest “commit” rather than latest “release”,

Indeed.

> here’s a v2 that adds an explanatory comment about why we use the
> latest commit

Applied as e7c938b2bf591819a64ea0ecb51a863d71339da2. Thank you!

Regards,


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]