changeset 22995:bc5bd04bf914

(disassemble-1): Move the call to string-as-unibyte outside of the if statement.
author Richard M. Stallman <rms@gnu.org>
date Tue, 11 Aug 1998 11:05:51 +0000
parents 85f64bf341c3
children c76b7dd7a823
files lisp/emacs-lisp/disass.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/disass.el	Mon Aug 10 21:19:03 1998 +0000
+++ b/lisp/emacs-lisp/disass.el	Tue Aug 11 11:05:51 1998 +0000
@@ -171,9 +171,9 @@
 	      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