mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 05:47:36 +00:00
set disassemble buffer in read only
This commit is contained in:
parent
fdb31d6a27
commit
92e285fdf0
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ redefine OBJECT if it is a symbol."
|
|||
(when (re-search-forward "^.*<.*>:" nil t 2)
|
||||
(delete-region (match-beginning 0) (point-max)))
|
||||
(asm-mode)
|
||||
(setq buffer-read-only t)
|
||||
(cl-return-from disassemble-internal))
|
||||
(error "Can't disassemble #<subr %s>" name)))
|
||||
(if (eq (car-safe obj) 'macro) ;Handle macros.
|
||||
|
|
|
|||
Loading…
Reference in a new issue