summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2000-06-12 04:59:26 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2000-06-12 04:59:26 +0000
commit571b4b9325428d9c3a443932eaf4f3860e6f02d1 (patch)
tree0fd8489cf820ce815e2780dd3fc1fd078dbcbed5 /lisp/emacs-lisp
parent6dc7d3d5473fdc64df47d65860a0d60e1e65bcf6 (diff)
downloademacs-571b4b9325428d9c3a443932eaf4f3860e6f02d1.tar.gz
emacs-571b4b9325428d9c3a443932eaf4f3860e6f02d1.tar.bz2
emacs-571b4b9325428d9c3a443932eaf4f3860e6f02d1.zip
(ad-advice-class-completion-table)
(ad-make-freeze-definition): Don't quote lambda.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/advice.el6
1 files changed, 3 insertions, 3 deletions
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 <hans@cs.buffalo.edu>
;; 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: