mirror of
https://github.com/ch11ng/exwm.git
synced 2024-11-27 04:58:00 +01:00
Code cleanups
* exwm-workspace.el (exwm-workspace--update-switch-history): use `aref' instead of `elt' to index vectors * .elpaignore: ignore README.md
This commit is contained in:
parent
6d63c71280
commit
637ac15719
2 changed files with 3 additions and 2 deletions
1
.elpaignore
Normal file
1
.elpaignore
Normal file
|
@ -0,0 +1 @@
|
|||
README.md
|
|
@ -72,7 +72,7 @@
|
|||
(dolist (i exwm--id-buffer-alist)
|
||||
(with-current-buffer (cdr i)
|
||||
(when exwm--frame
|
||||
(setf (elt not-empty (cl-position exwm--frame exwm-workspace--list))
|
||||
(setf (aref not-empty (cl-position exwm--frame exwm-workspace--list))
|
||||
t))))
|
||||
(setq exwm-workspace--switch-history
|
||||
(mapcar
|
||||
|
@ -86,7 +86,7 @@
|
|||
(cond ((frame-parameter (elt exwm-workspace--list j)
|
||||
'exwm--urgency)
|
||||
'(:foreground "orange"))
|
||||
((elt not-empty j) '(:foreground "green"))
|
||||
((aref not-empty j) '(:foreground "green"))
|
||||
(t nil)))))
|
||||
sequence ""))
|
||||
sequence))))
|
||||
|
|
Loading…
Reference in a new issue