about summary refs log tree commit diff
path: root/exwm-workspace.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm-workspace.el')
-rw-r--r--exwm-workspace.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/exwm-workspace.el b/exwm-workspace.el
index 9cf1ff050900..2ea8d1fb169b 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -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))))