error in process filter: jabber-replace-in-string: Wrong number of arguments: (lambda (target old new) (replace-regexp-in-string old new target)), 4
error in process filter: Wrong number of arguments: (lambda (target old new) (replace-regexp-in-string old new target)), 4

Recently the function replace-in-string caused a bug when Muse mode for Emacs 3.03 was installed. The reason was, since replace-in-string is defined in Xemacs but not GNU Emacs, Muse was testing for replace-in-string, and using it if it was defined. Because the color-theme definition of replace-in-string does not take the same number of arguments as the XEmacs definitions, problems then occurred. It would be nice if color-theme would use its own name space for function definitions. Please could you rename replace-in-string to color-theme-replace-in-string to prevent others running into this issue in the future.

Copyright (C) 2004-2006, the Gna! people. Posted items are owned by whoever posted them.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.