emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/net/newsticker.el,v


From: Dan Nicolaescu
Subject: [Emacs-diffs] Changes to emacs/lisp/net/newsticker.el,v
Date: Tue, 30 Oct 2007 03:17:37 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Dan Nicolaescu <dann>   07/10/30 03:17:35

Index: net/newsticker.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/net/newsticker.el,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -r1.16 -r1.17
--- net/newsticker.el   26 Jul 2007 05:27:18 -0000      1.16
+++ net/newsticker.el   30 Oct 2007 03:17:35 -0000      1.17
@@ -1199,10 +1199,11 @@
 (unless (fboundp 'match-string-no-properties)
   (defalias 'match-string-no-properties 'match-string))
 
-(unless (fboundp 'replace-regexp-in-string)
+(when (featurep 'xemacs)
+  (unless (fboundp 'replace-regexp-in-string)
   (defun replace-regexp-in-string (re rp st)
     (save-match-data ;; apparently XEmacs needs save-match-data
-      (replace-in-string st re rp))))
+       (replace-in-string st re rp)))))
 
 ;; copied from subr.el
 (unless (fboundp 'add-to-invisibility-spec)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]