branch: externals/modus-themes commit bf6c6ce67a8b4aa58573b9beeba708e3333ef3f3 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Remove use of 'string-pad' so we can depend on Emacs 27.1 This is in response to bug#78991 by John Sullivan: <https://lists.gnu.org/archive/html/bug-gnu-emacs/2025-07/msg00480.html>. --- modus-themes.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modus-themes.el b/modus-themes.el index a1923a6827..1c6a67137e 100644 --- a/modus-themes.el +++ b/modus-themes.el @@ -6,7 +6,7 @@ ;; Maintainer: Protesilaos Stavrou <i...@protesilaos.com> ;; URL: https://github.com/protesilaos/modus-themes ;; Version: 4.8.0 -;; Package-Requires: ((emacs "28.1")) +;; Package-Requires: ((emacs "27.1")) ;; Keywords: faces, theme, accessibility ;; This file is part of GNU Emacs. @@ -1313,7 +1313,7 @@ PALETTE is the value of a variable like `modus-operandi-palette'." (pcase-let* ((`(,name ,value) cell) (name-string (format "%s" name)) (value-string (format "%s" value)) - (value-string-padded (string-pad value-string 30)) + (value-string-padded (format "%-30s" value-string)) (color (modus-themes-get-color-value name mappings theme))) ; resolve a semantic mapping (list name (vector