about summary refs log tree commit diff
path: root/exwm-core.el
diff options
context:
space:
mode:
Diffstat (limited to 'exwm-core.el')
-rw-r--r--exwm-core.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/exwm-core.el b/exwm-core.el
index 70a759cde39a..fd26d2cdd3ac 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -205,7 +205,7 @@
                      (interactive)
                      (exwm-workspace-switch ,i))
                    (/= ,i exwm-workspace-current-index)])
-               (number-sequence 0 (1- exwm-workspace-number)))))))
+               (number-sequence 0 (1- (exwm-workspace--count))))))))
 
 (declare-function exwm-manage--kill-buffer-query-function "exwm-manage.el")