From cba937fd5cd8c079ee9485b4ec2b1bec27926a0d Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 16 Jun 2003 16:26:34 +0000 Subject: [PATCH] (disassemble): Accept plain expressions. --- lisp/emacs-lisp/disass.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el index 47a5a0c3428..6b7f9bc1b3e 100644 --- a/lisp/emacs-lisp/disass.el +++ b/lisp/emacs-lisp/disass.el @@ -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 @@ redefine OBJECT if it is a symbol." (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 -- 2.39.2