mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
refactor(lib): doom/set-frame-opacity
Remove redundancies.
Ref: #8395
Amend: 2c18b61c99
This commit is contained in:
parent
4afe5ca09a
commit
0ed0072ff2
1 changed files with 2 additions and 5 deletions
|
|
@ -198,11 +198,8 @@ arg)."
|
||||||
(alist `((,parameter . ,opacity))))
|
(alist `((,parameter . ,opacity))))
|
||||||
(if (eq frames t)
|
(if (eq frames t)
|
||||||
(modify-all-frames-parameters alist)
|
(modify-all-frames-parameters alist)
|
||||||
(dolist (frame (if (eq frames t) (frame-list) frames))
|
(dolist (frame frames)
|
||||||
(modify-frame-parameters frame alist))
|
(modify-frame-parameters frame alist)))))
|
||||||
(when frame-notice-user-settings ; only necessary at startup
|
|
||||||
(setf (alist-get (car alist) initial-frame-alist) (cdr alist)))
|
|
||||||
(setf (alist-get (car alist) default-frame-alist) (cdr alist)))))
|
|
||||||
|
|
||||||
(defvar doom--narrowed-base-buffer nil)
|
(defvar doom--narrowed-base-buffer nil)
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue