]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix previous commit
authorMark Oteiza <mvoteiza@udel.edu>
Tue, 12 Sep 2017 01:23:38 +0000 (21:23 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Tue, 12 Sep 2017 01:23:38 +0000 (21:23 -0400)
The printer otherwise includes the 0x prefix.
* lisp/emacs-lisp/cl-print.el: Add 0x to format.

lisp/emacs-lisp/cl-print.el

index cf9407c8a7611c5441b66862cace3e9b9e6be351..6a292d247768b5bcdd662f9a61a500d1f15496c0 100644 (file)
@@ -131,7 +131,7 @@ into a button whose action shows the function's disassembly.")
     (let ((button-start (and cl-print-compiled-button
                              (bufferp stream)
                              (with-current-buffer stream (point)))))
-      (princ (format "#<bytecode %x>" (sxhash object)) stream)
+      (princ (format "#<bytecode 0x%x>" (sxhash object)) stream)
       (when (eq cl-print-compiled 'static)
         (princ " " stream)
         (cl-print-object (aref object 2) stream))