about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.elpaignore1
-rw-r--r--exwm-workspace.el4
2 files changed, 3 insertions, 2 deletions
diff --git a/.elpaignore b/.elpaignore
new file mode 100644
index 000000000000..b43bf86b50fd
--- /dev/null
+++ b/.elpaignore
@@ -0,0 +1 @@
+README.md
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))))