X-Git-Url: https://cgit.sxemacs.org/?a=blobdiff_plain;ds=sidebyside;f=lisp%2Friece.el;h=40353b97171f56660114adf93a00368b9b426d3b;hb=9f0f8e8f7c1fefd0ae6712872f9dcb78ae3ea11c;hp=d328f9b6d9469435066b4256eceb447618dba4ba;hpb=6ca9c3262342393bfe93ff17b72dc0a50f5d91f9;p=riece diff --git a/lisp/riece.el b/lisp/riece.el index d328f9b..40353b9 100644 --- a/lisp/riece.el +++ b/lisp/riece.el @@ -30,8 +30,6 @@ (require 'riece-compat) (require 'riece-commands) -(autoload 'make-ring "ring") - (defvar riece-channel-list-mode-map (make-sparse-keymap)) (defvar riece-user-list-mode-map (make-sparse-keymap)) @@ -149,7 +147,6 @@ If optional argument SAFE is nil, overwrite previous definitions." "j" riece-command-join "\C-k" riece-command-kick "l" riece-command-list - "m" riece-dialogue-enter-message "M" riece-command-change-mode "n" riece-command-change-nickname "\C-n" riece-command-names @@ -254,7 +251,6 @@ If optional argument CONFIRM is non-nil, ask which IRC server to connect." (setq riece-server (riece-server-name-to-server riece-server))) (riece-create-buffers) (switch-to-buffer riece-command-buffer) - (setq riece-channel-history (make-ring riece-channel-history-length)) (riece-redisplay-buffers) (riece-open-server riece-server "") (run-hooks 'riece-startup-hook) @@ -276,8 +272,7 @@ If optional argument CONFIRM is non-nil, ask which IRC server to connect." riece-channel-list-indicator "No channel" riece-away-indicator "-" riece-operator-indicator "-" - riece-freeze-indicator "-" - riece-channel-history nil) + riece-freeze-indicator "-") (delete-other-windows) (run-hooks 'riece-exit-hook)) @@ -372,7 +367,6 @@ Instead, these commands are available: All normal editing commands are turned off." (kill-all-local-variables) (buffer-disable-undo) - (make-local-variable 'riece-redisplay-buffer) (setq major-mode 'riece-channel-list-mode mode-name "Channels" mode-line-buffer-identification @@ -389,7 +383,6 @@ Instead, these commands are available: \\{riece-user-list-mode-map}" (kill-all-local-variables) (buffer-disable-undo) - (make-local-variable 'riece-redisplay-buffer) (setq major-mode 'riece-user-list-mode mode-name "User list" mode-line-buffer-identification @@ -473,9 +466,12 @@ Instead, these commands are available: (setq queue (cdr queue))) (if dependencies (error "Circular add-on dependency found")) + (setq addons (nreverse addons)) (while addons (require (car addons)) ;implicit dependency (funcall (intern (concat (symbol-name (car addons)) "-insinuate"))) + (if riece-debug + (message "Add-on %S is loaded" (car addons))) (setq addons (cdr addons))))) (provide 'riece)