Skip to content

Commit

Permalink
forge--format-topic-line: Fix for Emacs releases before 27.1
Browse files Browse the repository at this point in the history
The ELLIPSIS-TEXT-PROPERTY argument to `truncate-string-to-width'
was added in Emacs 27.1.
  • Loading branch information
tarsius committed Dec 9, 2023
1 parent a094271 commit 849cd39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lisp/forge-topic.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 849cd39

Please sign in to comment.