aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp/disass.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2004-04-21 19:14:04 +0000
committerRichard M. Stallman <[email protected]>2004-04-21 19:14:04 +0000
commitdc0485c4f86e8754635ecd2003188d3894c23974 (patch)
tree6b7bc5ac8f956c38b09fef4c9082c0756aa409a0 /lisp/emacs-lisp/disass.el
parenta4f66531945826f4a12d6c41bfa80ef89eff33ed (diff)
(disassemble): Handle lambda-exp as arg.
Diffstat (limited to 'lisp/emacs-lisp/disass.el')
-rw-r--r--lisp/emacs-lisp/disass.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el
index d8890bd023..ed632b14cd 100644
--- a/lisp/emacs-lisp/disass.el
+++ b/lisp/emacs-lisp/disass.el
@@ -4,7 +4,7 @@
;; Author: Doug Cutting <[email protected]>
;; Jamie Zawinski <[email protected]>
-;; Maintainer: Jamie Zawinski <[email protected]>
+;; Maintainer: FSF
;; Keywords: internal
;; This file is part of GNU Emacs.
@@ -57,7 +57,7 @@ redefine OBJECT if it is a symbol."
(interactive (list (intern (completing-read "Disassemble function: "
obarray 'fboundp t))
nil 0 t))
- (if (consp object)
+ (if (and (consp object) (not (eq (car object) 'lambda)))
(setq object (list 'lambda () object)))
(or indent (setq indent 0)) ;Default indent to zero
(save-excursion