mirror of
https://github.com/protesilaos/modus-themes.git
synced 2026-09-10 07:16:30 -04:00
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>.
This commit is contained in:
parent
5f9dc66851
commit
bf6c6ce67a
|
|
@ -6,7 +6,7 @@
|
|||
;; Maintainer: Protesilaos Stavrou <info@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
|
||||
|
|
|
|||
Loading…
Reference in a new issue