# HG changeset patch # User Stefan Monnier # Date 960785966 0 # Node ID 05016ef95d0f8ff8f4791a3f5f32aa47563341da # Parent cf89b9b2ef40741490655818b205afc8dbb0d7e1 (ad-advice-class-completion-table) (ad-make-freeze-definition): Don't quote lambda. diff -r cf89b9b2ef40 -r 05016ef95d0f lisp/emacs-lisp/advice.el --- 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 ;; 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: