From: Stefan Monnier Date: Mon, 12 Jun 2000 04:59:26 +0000 (+0000) Subject: (ad-advice-class-completion-table) X-Git-Tag: emacs-pretest-21.0.90~3385 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=571b4b9325428d9c3a443932eaf4f3860e6f02d1;p=emacs.git (ad-advice-class-completion-table) (ad-make-freeze-definition): Don't quote lambda. --- diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index c1571d0824e..c8f7be749f0 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el @@ -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 @@ which PREDICATE returns non-nil)." (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 @@ advised definition from scratch." (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: