changeset 29579:05016ef95d0f

(ad-advice-class-completion-table) (ad-make-freeze-definition): Don't quote lambda.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 12 Jun 2000 04:59:26 +0000
parents cf89b9b2ef40
children 2f88e6f0d32b
files lisp/emacs-lisp/advice.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/advice.el	Mon Jun 12 04:53:34 2000 +0000
+++ b/lisp/emacs-lisp/advice.el	Mon Jun 12 04:59:26 2000 +0000
@@ -1,6 +1,6 @@
 ;;; advice.el --- an overloading mechanism for Emacs Lisp functions
 
-;; Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+;; Copyright (C) 1993,1994,2000  Free Software Foundation, Inc.
 
 ;; Author: Hans Chalupsky <hans@cs.buffalo.edu>
 ;; Maintainer: FSF
@@ -2234,7 +2234,7 @@
       (intern function))))
 
 (defvar ad-advice-class-completion-table
-  (mapcar '(lambda (class) (list (symbol-name class)))
+  (mapcar (lambda (class) (list (symbol-name class)))
 	  ad-advice-classes))
 
 (defun ad-read-advice-class (function &optional prompt default)
@@ -3457,7 +3457,7 @@
 		(ad-safe-fset 'ad-make-advised-definition-docstring
 			      'ad-make-freeze-docstring)
 		;; Make sure `unique-origname' is used as the origname:
-		(ad-safe-fset 'ad-make-origname '(lambda (x) unique-origname))
+		(ad-safe-fset 'ad-make-origname (lambda (x) unique-origname))
 		;; No we reset all current advice information to nil and
 		;; generate an advised definition that's solely determined
 		;; by ADVICE and the current origdef of FUNCTION: