emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: [Emacs-diffs] Changes to emacs/lisp/subr.el,v
Date: Mon, 20 Oct 2008 23:12:44 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Eli Zaretskii <eliz>    08/10/20 23:12:44

Index: subr.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/subr.el,v
retrieving revision 1.613
retrieving revision 1.614
diff -u -b -r1.613 -r1.614
--- subr.el     20 Oct 2008 19:04:30 -0000      1.613
+++ subr.el     20 Oct 2008 23:12:43 -0000      1.614
@@ -3556,20 +3556,5 @@
 \"1alpha\"."
   (version-list-= (version-to-list v1) (version-to-list v2)))
 
-
-;; This is for lexical-let in apply-partially.  It is here because cl
-;; needs various macros defined above.
-(eval-when-compile (require 'cl))
-
-(defun apply-partially (fun &rest args)
-  "Return a function that is a partial application of FUN to ARGS.
-ARGS is a list of the first N arguments to pass to FUN.
-The result is a new function which does the same as FUN, except that
-the first N arguments are fixed at the values with which this function
-was called."
-  (lexical-let ((fun fun) (args1 args))
-    (lambda (&rest args2) (apply fun (append args1 args2)))))
-
-
 ;; arch-tag: f7e0e6e5-70aa-4897-ae72-7a3511ec40bc
 ;;; subr.el ends here




reply via email to

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