unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 64000f2b7381dec1508ac3750eec00ab77ada9fb 855 bytes (raw)
name: gnu/packages/patches/emacs-helpful-fix-0.19-test.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
Erik Šabič sent a pull request (patches 741b864 and 209971b) against 2f91e79,
which is not a release.
This is a diff between 0.19 and those 2 patches applied against 0.19.

So, when 0.20 will be released, this patch can be removed.

The procedure should be as simple as reverting the commit including
this file then calling `guix refresh emacs-helpful`.
diff --git a/test/helpful-unit-test.el b/test/helpful-unit-test.el
index a07aa8e..8a95129 100644
--- a/test/helpful-unit-test.el
+++ b/test/helpful-unit-test.el
@@ -119,7 +119,9 @@ bar")))
   (should
    (equal
     (helpful--docstring #'test-foo-advised t)
-    "Docstring here too.")))
+    (if (version< emacs-version "28")
+        "Docstring here too."
+    "Docstring here too.\n\nThis function has :around advice: `ad-Advice-test-foo-advised'."))))
 
 (defun test-foo-no-docstring ()
   nil)

debug log:

solving 64000f2b73 ...
found 64000f2b73 in https://yhetil.org/guix-patches/ea-mime-62947038-241f-6fb4c704@www-8.mailo.com/

applying [1/1] https://yhetil.org/guix-patches/ea-mime-62947038-241f-6fb4c704@www-8.mailo.com/
diff --git a/gnu/packages/patches/emacs-helpful-fix-0.19-test.patch b/gnu/packages/patches/emacs-helpful-fix-0.19-test.patch
new file mode 100644
index 0000000000..64000f2b73

1:27: trailing whitespace.
 
Checking patch gnu/packages/patches/emacs-helpful-fix-0.19-test.patch...
Applied patch gnu/packages/patches/emacs-helpful-fix-0.19-test.patch cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 64000f2b7381dec1508ac3750eec00ab77ada9fb	gnu/packages/patches/emacs-helpful-fix-0.19-test.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).