mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
feature/workspaces: don't error when +workspace-p recieves nil
This commit is contained in:
@ -30,7 +30,8 @@
|
||||
;;;###autoload
|
||||
(defun +workspace-p (obj)
|
||||
"Return t if OBJ is a perspective hash table."
|
||||
(and (hash-table-p obj)
|
||||
(and obj
|
||||
(hash-table-p obj)
|
||||
(perspective-p obj)))
|
||||
|
||||
;;;###autoload
|
||||
|
Reference in New Issue
Block a user