# HG changeset patch # User Stefan Monnier # Date 1055780794 0 # Node ID 7ca4059e863636239ab0d9695f73d33294613c03 # Parent d9592ff1371e30ee746b59c1291c8a28f63237ab (disassemble): Accept plain expressions. diff -r d9592ff1371e -r 7ca4059e8636 lisp/emacs-lisp/disass.el --- a/lisp/emacs-lisp/disass.el Mon Jun 16 15:16:59 2003 +0000 +++ b/lisp/emacs-lisp/disass.el Mon Jun 16 16:26:34 2003 +0000 @@ -1,6 +1,6 @@ ;;; disass.el --- disassembler for compiled Emacs Lisp code -;; Copyright (C) 1986, 1991 Free Software Foundation, Inc. +;; Copyright (C) 1986, 1991, 2003 Free Software Foundation, Inc. ;; Author: Doug Cutting ;; Jamie Zawinski @@ -57,7 +57,7 @@ (interactive (list (intern (completing-read "Disassemble function: " obarray 'fboundp t)) nil 0 t)) - (if (eq (car-safe object) 'byte-code) + (if (consp object) (setq object (list 'lambda () object))) (or indent (setq indent 0)) ;Default indent to zero (save-excursion