From bc1318e01466e00fb44da2f7d10321f83c9ba359 Mon Sep 17 00:00:00 2001 From: ueno Date: Fri, 26 Aug 2005 08:41:04 +0000 Subject: [PATCH] Enable add-on if it is not disabled by default. --- lisp/riece-addon.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/riece-addon.el b/lisp/riece-addon.el index 34796f1..a773032 100644 --- a/lisp/riece-addon.el +++ b/lisp/riece-addon.el @@ -207,7 +207,9 @@ (funcall (intern (concat (symbol-name addon) "-insinuate"))) (put addon 'riece-addon-insinuated t) (if verbose - (message "Add-on %S is insinuated" addon)))) + (message "Add-on %S is insinuated" addon)) + (unless (get addon 'riece-addon-default-disabled) + (riece-enable-addon addon t)))) (defun riece-uninstall-addon (addon &optional verbose) (if (not (get addon 'riece-addon-insinuated)) -- 1.7.10.4