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