Hi,

I noticed that in jde-2.2.9b12 some jde-gen functionality did not work
due to the fact that the "replace-in-string" was an undefined symbol.
"replace-in-string" does not appear to be a in ntemacs-21.2.1.

The following snipped is a work-around.

(if (not (fboundp 'replace-in-string))
    ;;; copied from gnus-util (Oort)
    (defun replace-in-string (string regexp newtext &optional literal)
      (let ((start 0) tail)
        (while (string-match regexp string start)
          (setq tail (- (length string) (match-end 0)))
          (setq string (replace-match newtext nil literal string))
          (setq start (- (length string) tail))))
      string))

Cheers,

Arnd.

PS: Please excuse if this issue has already been raised. Since I don't
follow the development of jde too closely, I may have missed it.


Reply via email to