General update for docstrings and comments & minor refactor

This commit is contained in:
Henrik Lissner 2018-01-15 00:43:17 -05:00
parent 6790d666e0
commit 45c2221316
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 12 additions and 14 deletions

View file

@ -52,7 +52,7 @@
;;;###autoload
(defun +workspace-get (name &optional noerror)
"Returns a workspace (perspective hash table) named NAME."
"Returns a workspace (perspective struct) named NAME."
(when-let* ((persp (persp-get-by-name name)))
(cond ((+workspace-p persp) persp)
((not noerror) (error "'%s' is an invalid workspace" name)))))