guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: emacs-inspector: Update to 0.16.


From: guix-commits
Subject: branch master updated: gnu: emacs-inspector: Update to 0.16.
Date: Sat, 04 Feb 2023 12:12:46 -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 b670114590 gnu: emacs-inspector: Update to 0.16.
b670114590 is described below

commit b670114590551f5f4a8272041cd98e01c93fb762
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Feb 4 18:11:24 2023 +0100

    gnu: emacs-inspector: Update to 0.16.
    
    * gnu/packages/emacs-xyz.scm (emacs-inspector): Update to 0.16.
    [arguments]<#:phases>: Add another compatibility tweak for Emacs 28.
---
 gnu/packages/emacs-xyz.scm | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a7a94e613e..9fefce6dff 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -562,10 +562,10 @@ configuration language which makes it trivial to write 
your own themes.")
       (license license:gpl3+))))
 
 (define-public emacs-inspector
-  (let ((commit "cab7ea001baa54eff6393f171e9ef1f69258d5ac")) ;version bump
+  (let ((commit "32f752c5cd996991c4dba67733cfb4e4159c2e75")) ;version bump
     (package
       (name "emacs-inspector")
-      (version "0.15")
+      (version "0.16")
       (source
        (origin
          (uri (git-reference
@@ -573,7 +573,7 @@ configuration language which makes it trivial to write your 
own themes.")
                (commit commit)))
          (method git-fetch)
          (sha256
-          (base32 "00gh9s3868w0zbhcsqsvq5wqgcfpa4j7sxqwzxcxb51cmrnhp30l"))
+          (base32 "1zsj24f0qjdy8vxwbn8kc9xy0ffwfc54dyy3dya8j59rlqx5nmdh"))
          (file-name (git-file-name name version))))
       (build-system emacs-build-system)
       (arguments
@@ -589,9 +589,14 @@ configuration language which makes it trivial to write 
your own themes.")
             (add-after 'unpack 'preserve-emacs-28-compatibility
               ;; XXX: `cl-constantly' function is defined in "cl-lib" starting
               ;; from Emacs 29+.  For now, replace it with its definition.
+              ;; Also, the variables `pp-max-width' and `pp-use-max-width' are
+              ;; from Emacs 29+.  Replace them with their default value.
               (lambda _
                 (substitute* "tree-inspector.el"
-                  (("cl-constantly") "lambda (_)"))))
+                  (("cl-constantly") "lambda (_)"))
+                (substitute* "inspector.el"
+                  (("(defcustom inspector-.*? )pp(-use)?-max-width" _ lead 
flag)
+                   (string-append lead (if flag "nil" "t"))))))
             (add-before 'check 'skip-failing-test
               (lambda _
                 (substitute* "tree-inspector-tests.el"



reply via email to

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