[bug#78584,1/2] gnu: emacs-origami: Fix invalid-face-box.
Commit Message
This fixes face errors in the emacs-keystore-mode dependent package on
emacs@30.
* gnu/packages/emacs-xyz.scm (emacs-origami)[source]<snippet>: Adapt
to emacs@30 face API (:color unspecified has to be changed to :color
nil).
---
gnu/packages/emacs-xyz.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
@@ -35827,7 +35827,10 @@ (define-public emacs-origami
(("\\(require 'cl\\)")
"(require 'cl-lib)")
(("(destructuring-bind|remove-if)" all)
- (string-append "cl-" all))))))
+ (string-append "cl-" all))
+ (("\\(face-attribute 'highlight :background\\)") "\
+(let ((color (face-attribute 'highlight :background)))
+ (and color (not (eq color 'unspecified)) color))")))))
(build-system emacs-build-system)
(propagated-inputs (list emacs-dash emacs-s))
(home-page "https://github.com/gregsexton/origami.el")