mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix: void-function (setf plist-get) error
Only affected users on Emacs 27, before a generalized setter was defined
for `plist-get`.
Amend: 50b9afbb2d
This commit is contained in:
@ -585,8 +585,9 @@ windows, switch to `doom-fallback-buffer'. Otherwise, delegate to original
|
||||
Themes wouldn't call `provide-theme' unless they were a color-scheme, so treat
|
||||
them as such. Also intended as a helper for `doom--theme-is-colorscheme-p'."
|
||||
:after #'provide-theme
|
||||
(with-memoization (plist-get (get theme 'theme-properties) :kind)
|
||||
'color-scheme))
|
||||
(or (plist-get (get theme 'theme-properties) :kind)
|
||||
(cl-callf plist-put (get theme 'theme-properties) :kind
|
||||
'color-scheme)))
|
||||
|
||||
(defun doom--theme-is-colorscheme-p (theme)
|
||||
(unless (memq theme '(nil user changed use-package))
|
||||
|
Reference in New Issue
Block a user