From: Richard M. Stallman Date: Wed, 21 Apr 2004 19:14:04 +0000 (+0000) Subject: (disassemble): Handle lambda-exp as arg. X-Git-Tag: ttn-vms-21-2-B4~6683 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc0485c4f86e8754635ecd2003188d3894c23974;p=emacs.git (disassemble): Handle lambda-exp as arg. --- diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el index d8890bd0239..ed632b14cd4 100644 --- a/lisp/emacs-lisp/disass.el +++ b/lisp/emacs-lisp/disass.el @@ -4,7 +4,7 @@ ;; Author: Doug Cutting ;; Jamie Zawinski -;; Maintainer: Jamie Zawinski +;; 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