]> git.eshelyaron.com Git - emacs.git/commitdiff
(disassemble-internal): Allow a call to byte-code as argument.
authorRichard M. Stallman <rms@gnu.org>
Mon, 27 Sep 1993 01:36:27 +0000 (01:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 27 Sep 1993 01:36:27 +0000 (01:36 +0000)
lisp/emacs-lisp/disass.el

index 82933bd5d935cc46937f8fc4269833faa626761e..abf1eb9c129b5d211ff0de2517feeaec37363f07 100644 (file)
@@ -86,6 +86,8 @@ redefine OBJECT if it is a symbol."
     (if (eq (car-safe obj) 'macro)     ;handle macros
        (setq macro t
              obj (cdr obj)))
+    (if (and (listp obj) (eq (car obj) 'byte-code))
+       (setq obj (list 'lambda nil obj)))      
     (if (and (listp obj) (not (eq (car obj) 'lambda)))
        (error "not a function"))
     (if (consp obj)