summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-08-11 11:05:51 +0000
committerRichard M. Stallman <rms@gnu.org>1998-08-11 11:05:51 +0000
commit24a1a8b5db2c9b8f0291e2698376b23738e48e3c (patch)
treec682b960494356ce8393c3f7308775fefea0b900
parent3ed02ac59a16157103825a97b7b7f99d48c3724a (diff)
downloademacs-24a1a8b5db2c9b8f0291e2698376b23738e48e3c.tar.gz
(disassemble-1): Move the call to
string-as-unibyte outside of the if statement.
-rw-r--r--lisp/emacs-lisp/disass.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el
index 8b010c45e4c..bf9e9d04ccc 100644
--- a/lisp/emacs-lisp/disass.el
+++ b/lisp/emacs-lisp/disass.el
@@ -171,9 +171,9 @@ OBJ should be a call to BYTE-CODE generated by the byte compiler."
constvec (car (cdr (cdr obj)))) ;constant vector
;; If it is lazy-loaded, load it now
(fetch-bytecode obj)
- (setq bytes (string-as-unibyte (aref obj 1))
+ (setq bytes (aref obj 1)
constvec (aref obj 2)))
- (let ((lap (byte-decompile-bytecode bytes constvec))
+ (let ((lap (byte-decompile-bytecode (string-as-unibyte bytes) constvec))
op arg opname pc-value)
(let ((tagno 0)
tmp