From 849cd39b1870012432f8392b80ef27c83491a3fd Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sat, 9 Dec 2023 21:56:58 +0100 Subject: [PATCH] forge--format-topic-line: Fix for Emacs releases before 27.1 The ELLIPSIS-TEXT-PROPERTY argument to `truncate-string-to-width' was added in Emacs 27.1. --- lisp/forge-topic.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/forge-topic.el b/lisp/forge-topic.el index c381a2a4..d755cc23 100644 --- a/lisp/forge-topic.el +++ b/lisp/forge-topic.el @@ -559,7 +559,7 @@ allow exiting with a number that doesn't match any candidate." (concat (truncate-string-to-width (oref (forge-get-repository topic) slug) forge-notifications-repo-slug-width - nil ?\s t t) + nil ?\s t) " ")) (cond ((or fancy (not (derived-mode-p 'forge-notifications-mode))) nil) ((forge-issue-p topic) (magit--propertize-face "i " 'magit-dimmed))