mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/emacs-lisp/disass.el: Fix spacing while showing jump tables
This commit is contained in:
parent
4e6140b283
commit
6a82d19db1
1 changed files with 8 additions and 4 deletions
|
|
@ -224,10 +224,14 @@ OBJ should be a call to BYTE-CODE generated by the byte compiler."
|
|||
;; if the succeeding op is byte-switch, display the jump table
|
||||
;; used
|
||||
(cond ((eq (car-safe (car-safe (cdr lap))) 'byte-switch)
|
||||
(insert (format "<jump-table-%s ( " (hash-table-test arg)))
|
||||
(maphash #'(lambda (value tag)
|
||||
(insert (format "%s %s " value (cadr tag))))
|
||||
arg)
|
||||
(insert (format "<jump-table-%s (" (hash-table-test arg)))
|
||||
(let ((first-time t))
|
||||
(maphash #'(lambda (value tag)
|
||||
(if first-time
|
||||
(setq first-time nil)
|
||||
(insert " "))
|
||||
(insert (format "%s %s" value (cadr tag))))
|
||||
arg))
|
||||
(insert ")>"))
|
||||
;; if the value of the constant is compiled code, then
|
||||
;; recursively disassemble it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue