From 3a8e52afc17c0b8765d9e390e0c749b5cf502a9e Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Mon, 5 Aug 2002 22:37:25 +0000 Subject: [PATCH] (ediff-copy-list): Use `defalias' instead of `fset' and `symbol-function'. --- lisp/ChangeLog | 5 +++++ lisp/ediff-util.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c85555e01bc..b1cfb2bded5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-08-05 John Paul Wallington + + * ediff-util.el (ediff-copy-list): Use `defalias' instead of + `fset' and `symbol-function'. + 2002-08-05 John Wiegley * pcomplete.el (pcomplete-entries): Don't set `above-cutoff' to a diff --git a/lisp/ediff-util.el b/lisp/ediff-util.el index 95074d6ce47..1e0bcb8cbb3 100644 --- a/lisp/ediff-util.el +++ b/lisp/ediff-util.el @@ -4259,7 +4259,7 @@ Mail anyway? (y or n) ") (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)) -- 2.39.5