mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08: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:
parent
01666572d7
commit
311ad23fd4
1 changed files with 3 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue