changeset 46822:341d8797885c

(ediff-copy-list): Use `defalias' instead of `fset' and `symbol-function'.
author John Paul Wallington <jpw@pobox.com>
date Mon, 05 Aug 2002 22:37:25 +0000
parents 3dfc781fcf63
children aa2c0066a6bf
files lisp/ChangeLog lisp/ediff-util.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Mon Aug 05 20:09:37 2002 +0000
+++ b/lisp/ChangeLog	Mon Aug 05 22:37:25 2002 +0000
@@ -1,3 +1,8 @@
+2002-08-05  John Paul Wallington  <jpw@shootybangbang.com>
+
+	* ediff-util.el (ediff-copy-list): Use `defalias' instead of
+	`fset' and `symbol-function'.
+
 2002-08-05  John Wiegley  <johnw@gnu.org>
 
 	* pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a
--- a/lisp/ediff-util.el	Mon Aug 05 20:09:37 2002 +0000
+++ b/lisp/ediff-util.el	Mon Aug 05 22:37:25 2002 +0000
@@ -4259,7 +4259,7 @@
     (cdr result)))
 
 (if (fboundp 'copy-sequence)
-    (fset 'ediff-copy-list (symbol-function 'copy-sequence))
+    (defalias 'ediff-copy-list 'copy-sequence)
   (defun ediff-copy-list (list)
     (if (consp list)
       ;;;(let ((res nil))