         (cons 'deleted deleted))))
         (floobits-send-to-agent req 'buffer_list_change)))))
 
-(provide 'floobits) ;;; floobits.el ends here
+(provide 'floobits)
+;;; floobits.el ends here

    (floobits-send-to-agent (list (cons 'follow_mode floobits-follow-mode)) 'set_follow_mode)
    (message "Follow mode %s." (if (eq floobits-follow-mode nil) "disabled" "enabled"))))

(defun floobits-leave-workspace ()
  "leaves the current workspace"
  (interactive)
  (floobits-destroy-connection))

(defun floobits-share-dir (dir-to-share)
  "Create a workspace and populate it with the contents of the directory, dir-to-share, or make it.
If the directory corresponds to an existing floobits workspace, you will instead join the workspace.

(defun floobits-event-error (req)
  (message-box (floo-get-item req 'msg)))

;;;###autoload
(defun floobits-join-workspace (floourl)
  "Join an existing floobits workspace.
See floobits-share-dir to create one or visit floobits.com."
