(disassemble): Accept plain expressions.
This commit is contained in:
parent
3066d4ada1
commit
cba937fd5c
1 changed files with 2 additions and 2 deletions
|
@ -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 <doug@csli.stanford.edu>
|
||||
;; Jamie Zawinski <jwz@lucid.com>
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue