about summary refs log tree commit diff
path: root/users/tazjin/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin/emacs')
-rw-r--r--users/tazjin/emacs/config/desktop.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/desktop.el b/users/tazjin/emacs/config/desktop.el
index 84decd493dd3..094880a00870 100644
--- a/users/tazjin/emacs/config/desktop.el
+++ b/users/tazjin/emacs/config/desktop.el
@@ -207,7 +207,7 @@ in-progress."
   "Switch to the next workspace in the MRU workspace list."
   (interactive)
 
-  (if (<= *workspace-history-position* 1)
+  (if (= *workspace-history-position* 0)
       (message "No next workspace in history!")
     (let* (;; The next workspace is one position further up in the
            ;; history. This always exists unless someone messed with