riece-remprop instead of remprop.
* riece-addon.el (riece-uninstall-addon): Use riece-remprop
instead of remprop.
* riece-xemacs.el (riece-remprop): New alias.
* riece-emacs.el (riece-remprop): New function.
* COMPILE (riece-compile-modules): Add current directory to load-path.
* riece-history.el (riece-history-requires): New function.
* riece-addon.el (riece-insinuate-addon-1): Require add-on feature.
"aproxy.rb"))
(defun riece-compile-modules (modules)
- (let (error-modules)
+ (let ((load-path (cons nil load-path))
+ error-modules)
(while modules
(let ((source (expand-file-name
(concat (symbol-name (car modules)) ".el"))))
2005-08-27 Daiki Ueno <ueno@unixuser.org>
+ * riece-highlight.el (riece-highlight-uninstall): Use
+ riece-remprop instead of remprop.
+
+ * riece-addon.el (riece-uninstall-addon): Use riece-remprop
+ instead of remprop.
+
+ * riece-xemacs.el (riece-remprop): New alias.
+ * riece-emacs.el (riece-remprop): New function.
+
+ * COMPILE (riece-compile-modules): Add current directory to load-path.
+
* riece-history.el (riece-history-requires): New function.
* riece-addon.el (riece-insinuate-addon-1): Require add-on feature.
(funcall uninstall))
(setq riece-addon-dependencies
(delq entry riece-addon-dependencies))
- (remprop addon 'riece-addon-insinuated)
+ (riece-remprop addon 'riece-addon-insinuated)
(setq riece-addons (delq addon riece-addons)
riece-save-variables-are-dirty t
riece-addon-dependencies
;;; Code:
(require 'riece-options)
+(require 'riece-ruby) ;riece-ruby-command
(defgroup riece-async nil
"Connect to IRC server via async proxy."
(reverse-region (point-min) (point-max))
(buffer-string))))))
+(defun riece-remprop (symbol property)
+ (let ((plist (symbol-plist symbol)))
+ (if (eq (car plist) property)
+ (setplist symbol (cdr (cdr plist)))
+ (while (and (nthcdr 2 plist)
+ (eq (car (nthcdr 2 plist)) property))
+ (setq plist (nthcdr 2 plist)))
+ (if (nthcdr 2 plist)
+ (setcdr (cdr plist) (nthcdr 4 plist))))))
+
(provide 'riece-emacs)
;;; riece-emacs.el ends here
(remove-hook 'after-change-functions
'riece-highlight-hide-prefix t))
(setq buffers (cdr buffers)))))
- (remprop 'riece-channel-mode 'font-lock-defaults)
- (remprop 'riece-others-mode 'font-lock-defaults)
- (remprop 'riece-dialogue-mode 'font-lock-defaults)
+ (riece-remprop 'riece-channel-mode 'font-lock-defaults)
+ (riece-remprop 'riece-others-mode 'font-lock-defaults)
+ (riece-remprop 'riece-dialogue-mode 'font-lock-defaults)
(remove-hook 'riece-dialogue-mode-hook
'riece-highlight-setup-dialogue)
- (remprop 'riece-channel-list-mode 'font-lock-defaults)
+ (riece-remprop 'riece-channel-list-mode 'font-lock-defaults)
(remove-hook 'riece-channel-list-mode-hook
'riece-highlight-setup-channel-list)
(remove-hook 'riece-format-identity-for-channel-list-indicator-functions
(with-output-to-string
(print-recent-messages n)))
+(defalias 'riece-remprop 'remprop)
+
(provide 'riece-xemacs)
;;; riece-xemacs.el ends here