summaryrefslogblamecommitdiffstats
path: root/emacs.d/lisp/rudel/.svn/text-base/rudel-loaddefs.el.svn-base
blob: 9de870807a2fd9c048ab807426becc02cc8b228e (plain) (tree)






















                                                                              
;;; rudel-loaddefs.el

(autoload 'rudel-join-session "rudel" "Start a collaborative Rudel session" t)
(autoload 'rudel-host-session "rudel" "Host a collaborative Rudel session" t)
(autoload 'rudel-speedbar "rudel-speedbar"
  "Show connected users and documents for the Rudel session in speedbar" t)
(autoload 'global-rudel-minor-mode "rudel-mode"
  "Bindings for rudel session-level commands" t)

(global-set-key (kbd "C-c c j") 'rudel-join-session)

(setq rudel-dir (file-name-directory (or (buffer-file-name) load-file-name)))

(dolist (dir '("." "jupiter" "obby" "zeroconf"))
  (add-to-list 'load-path (concat rudel-dir "/" dir)))

(eval-after-load 'rudel
  '(progn (global-rudel-minor-mode)
          (require 'rudel-obby)
          (when (require 'zeroconf nil t)
            (require 'rudel-zeroconf))))

(provide 'rudel-loaddefs)