General cleanup, refactor and documentation
This commit is contained in:
parent
2c841b512d
commit
fd93e705b4
4 changed files with 21 additions and 6 deletions
|
@ -363,14 +363,17 @@ the workspace and move to the next."
|
|||
|
||||
;;;###autoload
|
||||
(defun +workspace-message (message &optional type)
|
||||
"Show an 'elegant' message in the echo area next to a listing of workspaces."
|
||||
(message "%s" (+workspace--message-body message type)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspace-error (message &optional noerror)
|
||||
"Show an 'elegant' error in the echo area next to a listing of workspaces."
|
||||
(funcall (if noerror 'message 'error) "%s" (+workspace--message-body message 'error)))
|
||||
|
||||
;;;###autoload
|
||||
(defun +workspace/display ()
|
||||
"Display a list of workspaces (like tabs) in the echo area."
|
||||
(interactive)
|
||||
(message "%s" (+workspace--tabline)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue