guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 4ee924eff75e7bf35a7708c0a887977ff6afae3e
Author: Cayetano Santos <[email protected]>
AuthorDate: Sun Mar 15 21:11:09 2026 +0100
gnu: emacs-markdown-mode: Update to 2.8.
* gnu/packages/emacs-xyz.scm (emacs-markdown-mode): Update to 2.8.
[arguments]<#:tests?>: Delete.
<#:phases>: Add ’skip-failing-tests.
Change-Id: Ifb214c9292f6c73fb8ef98dba6f7eb1093019194
---
gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7ac2bdcb54..141cbb8c7e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18166,7 +18166,7 @@ Emacs buffers.")
(define-public emacs-markdown-mode
(package
(name "emacs-markdown-mode")
- (version "2.7")
+ (version "2.8")
(source
(origin
(method git-fetch)
@@ -18175,10 +18175,26 @@ Emacs buffers.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1w6y18bg0fpvb5xwr827ynzbj0f0nh3dms3n0xq6hg38dcyly46b"))))
+ (base32 "05xcmp744sm1cp38zal5sqzj463igbsfhjn7vhgpzd97df95h9mp"))))
(build-system emacs-build-system)
- (arguments (list #:test-command #~(list "make" "test")
- #:tests? #f)) ; XXX: 5 unexpected results
+ (arguments
+ (list #:test-command #~(list "make" "test")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'skip-failing-tests
+ (lambda _
+ (let ((skip-tests
+ `("-export/buffer-local-css-path"
+ "-export/relative-css-path"
+ "-export/url-css-path"
+ "/wiki-link-rules"
+ "/wiki-link-search-under-project")))
+ (substitute* "tests/markdown-test.el"
+ (("\\(ert-deftest test-markdown([a-z/-]*) \\(\\)"
+ all test)
+ (if (member test skip-tests)
+ (string-append all "(skip-unless nil)")
+ all)))))))))
(home-page "https://jblevins.org/projects/markdown-mode/")
(synopsis "Emacs Major mode for Markdown files")
(description