* Fix native disassemble on Windows platforms (bug#65455)
* lisp/emacs-lisp/disass.el (disassemble-internal): Improve regexp.
This commit is contained in:
@@ -94,14 +94,11 @@ redefine OBJECT if it is a symbol."
|
||||
(call-process "objdump" nil (current-buffer) t "-S" eln)
|
||||
(error "Missing eln file for #<subr %s>" name)))
|
||||
(goto-char (point-min))
|
||||
(re-search-forward (concat "^.*"
|
||||
(re-search-forward (concat "^.*<_?"
|
||||
(regexp-quote
|
||||
(concat "<"
|
||||
(when (eq system-type 'darwin)
|
||||
"_")
|
||||
(comp-c-func-name
|
||||
(subr-name obj) "F" t)
|
||||
">:"))))
|
||||
(comp-c-func-name
|
||||
(subr-name obj) "F" t))
|
||||
">:"))
|
||||
(beginning-of-line)
|
||||
(delete-region (point-min) (point))
|
||||
(when (re-search-forward "^.*<.*>:" nil t 2)
|
||||
|
||||
Reference in New Issue
Block a user